Vulnerability
CVE-2024-58375
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.
2 advisories report this vulnerability, across 1 ecosystem.
Advisories
-
GHSA-wpr2-j6gr-pjw9
OpenTofu potential leaking of secret variable values when using static evaluation in v1.8
-
GO-2024-3182
OpenTofu potential leaking of secret variable values when using static evaluation in v1.8 in github.com/opentofu/opentofu