CVE-2024-58375
published high CVSS 4.0 · 8.7OpenTofu before 1.8.3 Secret Variable Leaking via Static Evaluation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| opentofu | — | opentofu0 to < 1.8.3 (affected · semver) · 1.8.3 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| opentofu | opentofu | 0 to < 1.8.3 (affected · semver)1.8.3 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere
References
2- GitHub Security Advisory (GHSA-wpr2-j6gr-pjw9) https://github.com/opentofu/opentofu/security/advisories/GHSA-wpr2-j6gr-pjw9
- VulnCheck Advisory: OpenTofu before 1.8.3 Secret Variable Leaking via Static Evaluation https://www.vulncheck.com/advisories/opentofu-before-secret-variable-leaking-via-static-evaluation
Provider assertions
2VulnCheck · cna
OpenTofu before 1.8.3 Secret Variable Leaking via Static Evaluation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6a8563610d59d509b258f3b499a11b1cdfe60ed4f872d23f9b2159b13478cf77
- Ingested
- 09 Oct 2026, 16:22:05 UTC
- Source record
- Official CVE record