{"schema_version":"1.3.1","id":"GO-2022-0988","modified":"2024-05-20T16:03:47Z","published":"2022-09-12T20:23:15Z","aliases":["CVE-2022-32190"],"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.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.19.0-0"},{"fixed":"1.19.1"}]}],"ecosystem_specific":{"imports":[{"path":"net/url","symbols":["JoinPath","URL.JoinPath"]}]}}],"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"}],"credits":[{"name":"@q0jt"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0988","review_status":"REVIEWED"}}