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)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.022 (81.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 81st percentile — 81.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.018 · newest: 0.022 · change: +0.004
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
- groups.google.com/g/golang-announce/c/x49AQzIVX-s (Mailing List, Third Party Advisory)
- go.dev/issue/54385 (Patch, Issue Tracking, Vendor Advisory)
- go.dev/cl/423514 (Patch, Release Notes)
- pkg.go.dev/vuln/GO-2022-0988 (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.