OpenTofu before 1.8.3 Secret Variable Leaking via Static Evaluation
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.
CVE-2024-58375
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2024-58375
opentofu
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "opentofu",
"product": "opentofu",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "1.8.3",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "1.8.3",
"versionType": "semver"
}
],
"packageURL": "pkg:golang/github.com/opentofu/opentofu",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2024-58375
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #12617 · Revision 1
- Added to Heist Feed
- Publisher date