Vulnerability in Opentofu
CVE-2024-58375
OpenTofu versions 1.8.0 through 1.8.2 do not properly restrict sensitive variables and locals when users have opted into static evaluation of module sources, versions, and backend configurations. As a result, values marked as sensitive may be exposed through these configuration elements instead of producing an error. This is fixed in OpenTofu 1.8.3, which adds explicit errors to prevent the use of sensitive values in these contexts.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.004, 38.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Opentofu — versions 0, 1.8.3
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-wpr2-j6gr-pjw9) (vendor-advisory)
- VulnCheck Advisory: OpenTofu before 1.8.3 Secret Variable Leaking via Static Evaluation (third-party-advisory)