Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/opentofu/opentofu/security/advisories/GHSA-wpr2-j6gr-pjw9
- https://www.vulncheck.com/advisories/opentofu-before-secret-variable-leaking-via
FAQ
What is CVE-2024-58375?
CVE-2024-58375 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2024-58375?
CVE-2024-58375 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-58375?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.