Description (CNA)
OpenTofu before 1.11.7 fails to validate existing symlinks in the provider cache directory during initialization. Attackers can place a malicious symlink in a trusted working directory to cause tofu init to write provider package contents to arbitrary filesystem locations outside the working tree.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| opentofu / opentofu | affected 0 before 1.11.7; unaffected 1.11.7 |
CWE
CWE-59
References
- https://github.com/opentofu/opentofu/security/advisories/GHSA-wcmj-x466-56mm
- https://www.vulncheck.com/advisories/opentofu-before-symlink-following-path-traversal
ADP enrichment
No English description supplied.
No references supplied.