Path Traversal in Golang Go
CVE-2022-29804
Incorrect conversion of certain invalid paths to valid, absolute paths in Clean in path/filepath before Go 1.17.11 and Go 1.18.3 on Windows allows potential directory traversal attack.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.018 (75.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Golang Go
- Go Standard Library Path/filepath — versions 0, 1.18.0-0
- Microsoft Windows
Weakness classification (CWE)
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2022-29804?
- CVE-2022-29804 is a high-severity vulnerability in Golang Go, classified under Path Traversal. CVSS score: 7.5/10. Published 2022-08-10.
- How severe is CVE-2022-29804?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2022-29804 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.