{"id":"GHSA-wpr2-j6gr-pjw9","revision":"f9a1002106884031ac5d3e88c30fe007","records":[{"revision":"f9a1002106884031ac5d3e88c30fe007","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-wpr2-j6gr-pjw9","aliases":["CVE-2024-58375","GO-2024-3182"],"title":"OpenTofu potential leaking of secret variable values when using static evaluation in v1.8","description":"### Impact\nUsers who have opted into static evaluation of module sources, versions, and backend configurations may be at risk of exposing sensitive variables and locals.  This is a workflow that should not be possible and explicitly show errors.\n\n### Workarounds\nCheck that you are not using sensitive variables in module sources and versions, as well as backend configurations.  The patch will add explicit errors and prevent this from being possible.\n\n### Examples\n```hcl\nvariable \"backend_path\" {\n        type = string\n        sensitive = true\n}\n\nterraform {\n        backend \"local\" {\n                path = var.backend_path\n        }\n}\n```\n\n```hcl\nvariable \"mod_info\" {\n        type = string\n        sensitive = true\n}\n\nmodule \"foo\" {\n        source = var.mod_info\n        //version = var.mod_info\n}\n```\n\n","state":0,"publishedAt":"2024-10-03T16:51:50+00:00","modifiedAt":"2026-08-17T03:55:42.8014236+00:00","affected":[{"ecosystem":"Go","name":"github.com/opentofu/opentofu","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.8.0"},{"kind":"fixed","version":"1.8.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/opentofu/opentofu/security/advisories/GHSA-wpr2-j6gr-pjw9","https://github.com/opentofu/opentofu","https://pkg.go.dev/vuln/GO-2024-3182"],"sourceUrl":"https://github.com/advisories/GHSA-wpr2-j6gr-pjw9","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-wpr2-j6gr-pjw9","identifiers":["GHSA-wpr2-j6gr-pjw9","CVE-2024-58375","GO-2024-3182"]},"retained":false,"historicalAffected":[]}],"coverage":[]}