CVE-2024-58375 OpenTofu before 1.8.3 Secret Variable Leaking via Static Evaluation
HighCVSS 8.7
EPSS 0.43%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| opentofu github.com/opentofu/opentofu | < 1.8.3 | 1.8.3 | Fixed |
| opentofu github.com/opentofu/opentofu(Go) | >= 1.8.0, < 1.8.3 | 1.8.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| opentofu github.com/opentofu/opentofu(Go) | >= 1.8.0, < 1.8.3 | 1.8.3 |
| opentofu github.com/opentofu/opentofu | < 1.8.3 | 1.8.3 |
References
- GitHub Security Advisory (GHSA-wpr2-j6gr-pjw9) vendor-advisory
- github.com product
- pkg.go.dev
- github.com
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2517223 issue-tracking
- www.cve.org
- nvd.nist.gov
- VulnCheck Advisory: OpenTofu before 1.8.3 Secret Variable Leaking via Static Evaluation third-party-advisory
- ENISA EUVD EUVD-2024-55722 third-party-advisory