CVE-2023-4782
Terraform Allows Arbitrary File Write During Init Operation
- State
- Published
- Severity
- 6.3 Medium
- Published
- Sep 8, 2023
- Updated
- Sep 26, 2024
- Reserved
- Sep 5, 2023
Description
Terraform version 1.0.8 through 1.5.6 allows arbitrary file write during the `init` operation if run on maliciously crafted Terraform configuration. This vulnerability is fixed in Terraform 1.5.7.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.3 Medium | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:N | HashiCorp |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
TerraformHashiCorp |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.