Path Traversal in Hashicorp Terraform

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 configuration. This vulnerability is fixed in Terraform 1.5.7.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:N.

EPSS exploit prediction

EPSS: 0.003 (17.3th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 17th percentile — 17.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2023-4782: held from 0.003 to 0.003.

EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: +0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-4782?
CVE-2023-4782 is a medium-severity vulnerability in Hashicorp Terraform, classified under Path Traversal. CVSS score: 6.3/10. Published 2023-09-08.
How severe is CVE-2023-4782?
Medium severity. CVSS v3 base score is 6.3 out of 10.