{"id":"GO-2022-0988","summary":"Failure to strip relative path components in net/url","details":"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.","aliases":["BIT-golang-2022-32190","CVE-2022-32190"],"modified":"2024-05-20T16:03:47Z","published":"2022-09-12T20:23:15Z","database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2022-0988"},"references":[{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/x49AQzIVX-s"},{"type":"REPORT","url":"https://go.dev/issue/54385"},{"type":"FIX","url":"https://go.dev/cl/423514"}],"affected":[{"package":{"name":"stdlib","ecosystem":"Go","purl":"pkg:golang/stdlib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.19.0-0"},{"fixed":"1.19.1"}]}],"ecosystem_specific":{"imports":[{"path":"net/url","symbols":["JoinPath","URL.JoinPath"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2022-0988.json"}}],"schema_version":"1.7.3","credits":[{"name":"@q0jt"}]}