Skip to content

CVE-2023-4782 Terraform Allows Arbitrary File Write During Init Operation

HighCVSS 7.8 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
hashicorp github.com/hashicorp/terraform >= 1.0.8, < 1.5.7 1.5.7 Fixed
hashicorp github.com/hashicorp/terraform(Go) >= 1.0.8, < 1.5.7 1.5.7 Fixed

Affected products

ProductAffected versionsFixed in
hashicorp github.com/hashicorp/terraform(Go) >= 1.0.8, < 1.5.7 1.5.7
hashicorp github.com/hashicorp/terraform >= 1.0.8, < 1.5.7 1.5.7

References