Skip to content
terraformGHSA-h626-pv66-hhm7

Terraform allows arbitrary file write during the `init` operation

Medium6.3CVE-2023-4782 · Published Sep 8, 2023 · updated Aug 21, 2024

GitHub advisory

Affected versions

PackageAffectedFixed in
github.com/hashicorp/terraform
Go
>= 1.0.8, < 1.5.71.5.7
Details and references

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.

CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:N
Severity from
GitHub (reviewed advisory)
Weakness
CWE-22
Also known as
CVE-2023-4782, GO-2023-2055

More terraform advisories

All
DateAdvisory
May 182021Use of a Broken or Risky Cryptographic Algorithm in Terraform
CVE-2019-19316High7.5fixed in 0.12.17

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.