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.
{
"cna_assigner": "HashiCorp",
"cwe_ids": [
"CWE-22"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4782.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "1.0.8"
},
{
"fixed": "1.5.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"cpe": "cpe:2.3:a:hashicorp:terraform:*:*:*:*:*:-:*:*",
"range": [
{
"introduced": "1.0.8"
},
{
"fixed": "1.5.7"
}
],
"source": "CPE_RANGE"
}
]
}