Skip to content
OpenAdvisories
Medium · 6.3 CVE-2023-4782 EUVD-2023-2517GHSA-h626-pv66-hhm7GO-2023-2055

Terraform Allows Arbitrary File Write During Init Operation

Published Sep 8, 2023 · Updated Sep 26, 2024 · Assigned by HashiCorp

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.

Affected products

VendorProductAffectedFixed
HashiCorp Terraform 1.0.8 – < 1.5.7 1.5.7

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) terraform 1.3.2-19 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/hashicorp/terraform >= 1.0.8, < 1.5.7 1.5.7 GHSA-h626-pv66-hhm7

Advisories 3

References