GitHub Advisoryadvisory · Go

GHSA-h626-pv66-hhm7 Terraform allows arbitrary file write during the `init` operation

MEDIUM Published 2023-09-08 Modified 2023-09-08 Official page ↗
Aliases
CVE-2023-4782
Ecosystem
Go
Packages
github.com/hashicorp/terraform
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:N
Weaknesses
CWE-22
Reviewed
2023-09-08

Affected packages

• Go github.com/hashicorp/terraform: >= 1.0.8, < 1.5.7 → fixed in 1.5.7

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.

Related

Alias · CVE (1)

  • CVE-2023-4782 Terraform version 1.0.8 through 1.5.6 allows arbitrary file write during the `init` operation if run on maliciously crafted Terraform… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References