cve.bz

CVE-2024-58375 opentofu opentofu

8.7 highEPSS 0.4%Fix available

High (8.7) in opentofu opentofu. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/opentofu/opentofu 1.8.3.

On this page
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.

Severity

CVSS 4.0

8.7 high
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 38th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-08-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • github.com/opentofu/opentofu (Go): fixed in 1.8.3

Ask an AI about this CVE

Show the promptExplain CVE-2024-58375 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-58375?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-58375?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-58375 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
opentofubefore 1.8.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wpr2-j6gr-pjw9Gogithub.com/opentofu/opentofu>=1.8.0 <1.8.31.8.3
GO-2024-3182Gogithub.com/opentofu/opentofu>=1.8.0 <1.8.31.8.3

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate impact flaw in OpenTofu allows sensitive information disclosure when static evaluation of module sources, versions, and backend configurations is enabled. While the vulnerability could expose sensitive variables, the attack complexity is high, requiring specific user configurations to be in place for exploitation.

ProductPackageStateAdvisory
Red Hat Hardened Imageshi/opentofuNot affected
Red Hat Hardened Imagesopentofu1.10Not affected
Red Hat Hardened Imagesopentofu1.11Not affected
Red Hat Hardened Imagesopentofu1.12Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-58375.

Attack patterns (CAPEC)

  • CAPEC-170 Web Application Fingerprinting Likelihood: High · Severity: Low
  • CAPEC-694 System Location Discovery Likelihood: High · Severity: Very Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON