LiveActive security incident?Get immediate response
CVE Record

CVE-2024-58375: 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.

HighCVSS 8.7Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

OpenTofu 1.8.0 through 1.8.2 can expose values designated as sensitive when static evaluation is enabled for module sources, versions, or backend configurations. This could disclose infrastructure credentials or other secrets used in affected configurations. OpenTofu 1.8.3 prevents these uses by returning errors.

Executive priority

Prioritize remediation where OpenTofu manages privileged infrastructure credentials and static evaluation is enabled. Upgrade promptly, then assess whether sensitive values entered the affected contexts. Broader emergency action is not supported without evidence of exposure or exploitation.

Technical view

The flaw is an information exposure weakness, classified as CWE-497. Sensitive variables and locals were not properly rejected during opted-in static evaluation of module source, version, and backend configuration expressions. The supplied CVSS 4.0 score is 8.7, reflecting potentially high confidentiality impact without stated integrity or availability impact.

Likely exposure

Exposure requires OpenTofu 1.8.0, 1.8.1, or 1.8.2, opted-in static evaluation, and sensitive values referenced in the affected configuration contexts. Deployments outside those conditions are not shown as vulnerable by the supplied description. The evidence does not quantify deployment prevalence or identify specific leaked secrets.

Exploitation context

The source bundle does not report active exploitation, and the CVE is not listed as KEV in the supplied data. The issue concerns unintended secret disclosure during configuration evaluation rather than a demonstrated compromise technique. No public exploitation evidence is provided here.

Researcher notes

The narrative identifies versions 1.8.0 through 1.8.2 as affected and 1.8.3 as fixed. The structured affected entry in the bundle is ambiguous, so version conclusions should follow the explicit narrative and vendor advisory. Available evidence establishes the flaw and fix but does not establish real-world exploitation or disclosure locations.

Mitigation direction

  • Upgrade affected OpenTofu installations to version 1.8.3 or later.
  • Review module source, version, and backend expressions for references to sensitive variables or locals.
  • Restrict access to configuration outputs and related artifacts until exposure is assessed.
  • Rotate affected secrets if review confirms they were exposed.

Validation and detection

  • Inventory OpenTofu versions and identify installations running 1.8.0 through 1.8.2.
  • Determine whether static evaluation was enabled in each affected installation.
  • Inspect module source, version, and backend expressions for sensitive-value references.
  • Confirm upgraded installations reject sensitive values in these contexts.
  • Review accessible artifacts for evidence of disclosed values without unnecessarily reproducing secrets.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-497: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Credential and access behavior lookup

The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2024-58375 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.7 (4.0)
Known Exploited
No
Published

Vector: 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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
3Timeline events
1ADP providers
3Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: partial

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.7CVSS 4.0HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NVulnCheck
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N3.93.6VulnCheck

Vulnerability scoring details

Base CVSS 4.0 score

8.7High
CVSS 4.0 vector shape for CVE-2024-58375Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: 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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
opentofuopentofu0, 1.8.3unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-497 · source CWE mapping

Exposure of Sensitive System Information to an Unauthorized Control Sphere

Exposure of Sensitive System Information to an Unauthorized Control Sphere represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.