Vulnerability Report: GO-2022-0988
standard library- CVE-2022-32190
- Affects: net/url
- Published: Sep 12, 2022
- Modified: May 20, 2024
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.
Affected Packages
-
PathGo VersionsSymbols
-
from go1.19.0-0 before go1.19.1
Aliases
References
- https://groups.google.com/g/golang-announce/c/x49AQzIVX-s
- https://go.dev/issue/54385
- https://go.dev/cl/423514
- https://vuln.go.dev/ID/GO-2022-0988.json
Credits
- @q0jt
Feedback
See anything missing or incorrect?
Suggest an edit to this report.