{"answers":{"affected":"3 open source packages ship an affected version, including github.com/opentofu/opentofu.","exploited":"There is no known exploitation of CVE-2024-58375 in the wild and no public exploit code.","fix":"Upgrade github.com/opentofu/opentofu to 1.8.3 or later.","what":"CVE-2024-58375 is a high-severity vulnerability in opentofu, published on 16 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-58375 and fix it if it is affected.\n\nWhat it is: CVE-2024-58375 is a high-severity vulnerability in opentofu, published on 16 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-58375 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/opentofu/opentofu (Go): affected from 1.8.0; fixed in 1.8.3\n- github.com/opentofu/opentofu (Go): affected from 1.8.0; fixed in 1.8.3\n- github.com/opentofu/opentofu (Go): affected from 1.8.0; fixed in 1.8.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-58375/ (Markdown: https://insights.sbomify.com/CVE-2024-58375/index.md)","id":"CVE-2024-58375","markdown":"https://insights.sbomify.com/CVE-2024-58375/index.md","name":"CVE-2024-58375","record":{"aliases":["GHSA-p8hv-x2cr-398f","GHSA-wpr2-j6gr-pjw9","GO-2024-3182"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Infrastructure as Code tool","requires_auth":"none","summary":"OpenTofu users enabling static evaluation may inadvertently expose sensitive variables and locals, requiring an upgrade to prevent data leakage.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-497","name":"Exposure of Sensitive System Information to an Unauthorized Control Sphere"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"OpenTofu before 1.8.3 Secret Variable Leaking via Static Evaluation","id":"CVE-2024-58375","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":3,"n_references":2,"next":{"headline":"Renovate 37.158.0 before 37.199.0 Command Injection via helmv3","id":"CVE-2024-58376"},"packages":[{"ecosystem":"Go","fixed":["1.8.3"],"introduced":["1.8.0"],"last_affected":[],"package":"github.com/opentofu/opentofu","purl":null,"source":"GHSA-wpr2-j6gr-pjw9"},{"ecosystem":"Go","fixed":["1.8.3"],"introduced":["1.8.0"],"last_affected":[],"package":"github.com/opentofu/opentofu","purl":"pkg:golang/github.com/opentofu/opentofu","source":"GHSA-wpr2-j6gr-pjw9"},{"ecosystem":"Go","fixed":["1.8.3"],"introduced":["1.8.0"],"last_affected":[],"package":"github.com/opentofu/opentofu","purl":"pkg:golang/github.com/opentofu/opentofu","source":"GO-2024-3182"}],"prev":{"headline":"Hongjing e-HR Unauthenticated SQL Injection via getSdutyTree","id":"CVE-2024-58374"},"products":["opentofu"],"published":"2026-08-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["opentofu"]},"summary":"OpenTofu users enabling static evaluation may inadvertently expose sensitive variables and locals, requiring an upgrade to prevent data leakage.","url":"https://insights.sbomify.com/CVE-2024-58375/"}