Skip to main content
← All vulnerabilities
CVE-2024-58375GO-2024-3182GHSA-WPR2-J6GR-PJW9

OpenTofu before 1.8.3 Secret Variable Leaking via Static Evaluation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.8.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • opentofu opentofu

    fixed in 1.8.3

  • github.com/opentofu/opentofuGo

    From 1.8.0 · fixed in 1.8.3

References 2

GitHub · opentofu/opentofu

vulncheck.com