Path Traversal in Golang Go
CVE-2022-32190
JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path. For example, JoinPath("https://go.dev", "../go") returns the URL "https://go.dev/../go", despite the JoinPath documentation stating that ../ path elements are removed from the result.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.018 (76.0th 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 — versions 1.19.0
- Go Standard Library Net/url — versions 1.19.0-0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security@golang.org (Mailing List, Third Party Advisory)
- security@golang.org (Patch, Issue Tracking, Vendor Advisory)
- security@golang.org (Patch, Release Notes)
- security@golang.org (Patch, Issue Tracking, Vendor Advisory)
Frequently asked questions
- What is CVE-2022-32190?
- CVE-2022-32190 is a high-severity vulnerability in Golang Go, classified under Path Traversal. CVSS score: 7.5/10. Published 2022-09-13.
- How severe is CVE-2022-32190?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2022-32190 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.