CVE-2023-4782: hashicorp terraform Path Traversal
CVSS: 7.8v3.1HighModified
AliasesGHSA-h626-pv66-hhm7GO-2023-2055
Published 08-09-2023Last modified 26-09-2024
Vulnerability summary
CVE-2023-4782 is a high (CVSS 7.8) Path Traversal vulnerability in hashicorp terraform. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 17.7% of scored vulnerabilities.
CVSS score
7.8/10
010
High · v3.1 (NVD)EPSS score
0.27%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 08-09-2023PublishedVulnerability first disclosed.
- 26-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 versionHigh 7.8Preferred score · NVD (NIST)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HSources3 sources · 6.3–7.8
- CVE.orgCNA6.3MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:NDiffers
- OSV · GoEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:NDiffers
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
18%
Versus all other CVEs
30-day change
0.00 pp
From 0.27% on 20-09-2026
20-09-202620-10-2026
EPSS score0.27%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Github.com/hashicorp1 product
- terraform≥ 1.0.8, < 1.5.7
Hashicorp1 product
- terraform≥ 1.0.8, < 1.5.7
2 vendors · 2 products