Advisory

GHSA-h626-pv66-hhm7

Also known as: CVE-2023-4782, GO-2023-2055

Summary

Terraform allows arbitrary file write during the init operation

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-09-08 18:30 UTC
Modified
2024-08-21 14:56 UTC

Affected packages and fixes

github.com/hashicorp/terraform

Go · All systems

Affected

  • introduced 1.0.8, fixed 1.5.7 (semver)

Fixed versions

1.5.7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences