CVE-2023-4782
Medium
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.
SeverityMedium
CVSS6.3
Exploit probability—
ProductHashicorp Terraform
PublishedSep 8, 2023
First seenSep 8, 2023
Weakness typeCWE-22Path traversal
How to fix
Update
- hashicorp terraform1.5.7 or later
- github.com/hashicorp/terraform1.5.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hashicorp terraform | 1.0.8 ≤ v < 1.5.7 | 1.5.7 |
| github.com/hashicorp/terraformGo | 1.0.8 ≤ v < 1.5.7 | 1.5.7 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.