CVE-2023-4782

Terraform Allows Arbitrary File Write During Init Operation

State
Published
Severity
6.3 Medium
Published
Sep 8, 2023
Updated
Sep 26, 2024
Reserved
Sep 5, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.3 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:NHashiCorp

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
TerraformHashiCorp
  • 1.0.8 to before 1.5.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.