CVE-2024-58375
8.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| opentofu | opentofu | 0 < 1.8.3 | affected |
| opentofu | opentofu | 1.8.3 | unaffected |
Weaknesses
- CWE-497: Exposure of Sensitive System Information to an Unauthorized Control Sphere
References
- https://github.com/opentofu/opentofu/security/advisories/GHSA-wpr2-j6gr-pjw9
- https://www.vulncheck.com/advisories/opentofu-before-secret-variable-leaking-via-static-evaluation
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.