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.
References
Link | Resource |
---|---|
https://go.dev/cl/423514 | Patch Release Notes |
https://go.dev/issue/54385 | Issue Tracking Patch Vendor Advisory |
https://groups.google.com/g/golang-announce/c/x49AQzIVX-s | Mailing List Third Party Advisory |
https://pkg.go.dev/vuln/GO-2022-0988 | Issue Tracking Patch Vendor Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: Go
Published: 2022-09-13T17:08:57
Updated: 2023-06-12T19:05:24.713Z
Reserved: 2022-05-31T00:00:00
Link: CVE-2022-32190
JSON object: View
NVD Information
Status : Modified
Published: 2022-09-13T18:15:14.507
Modified: 2023-11-07T03:47:45.847
Link: CVE-2022-32190
JSON object: View
Redhat Information
No data.
CWE