{"id":"CVE-2022-32190","published":"2022-09-13T17:08:57Z","modified":"2024-08-03T07:32:56Z","title":"Failure to strip relative path components in net/url","vendor":"Go standard library","product":"net/url","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02296,"percentile":0.83684,"provenance":"source"},"cwes":[],"references":[{"url":"https://groups.google.com/g/golang-announce/c/x49AQzIVX-s","tags":[]},{"url":"https://go.dev/issue/54385","tags":[]},{"url":"https://go.dev/cl/423514","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2022-0988","tags":[]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":16.74}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"net/url","versions":[">= 1.19.0-0, < 1.19.1"]}],"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":[">=1.19.0-0, <1.19.1"],"patched":["1.19.1"],"from":["GO-2022-0988"],"provenance":"source"}],"summary":{"text":"The net/url package in the Go standard library has a flaw in which JoinPath and URL.JoinPath fail to remove \"../\" path elements appended to a relative path, so JoinPath(\"https://go.dev\", \"../go\") returns \"https://go.dev/../go\" rather than the cleaned result the documentation promises.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:03Z"},"euvd":{"id":"EUVD-2022-53402","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-32148","published":"2022-08-09","fixed":"1.18.4","kev":false},{"cve":"CVE-2022-32189","published":"2022-08-09","fixed":"1.18.5","kev":false},{"cve":"CVE-2022-27664","published":"2022-09-06","fixed":"1.19.1","kev":false},{"cve":"CVE-2022-32190","published":"2022-09-13","fixed":"1.19.1","kev":false},{"cve":"CVE-2022-2879","published":"2022-10-14","fixed":"1.19.2","kev":false,"link":{"from":"CVE-2022-32190","to":"CVE-2022-2879","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.19.1","toFixed":"1.19.2","daysApart":31}]}},{"cve":"CVE-2022-2880","published":"2022-10-14","fixed":"1.19.2","kev":false,"link":{"from":"CVE-2022-32190","to":"CVE-2022-2880","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.19.1","toFixed":"1.19.2","daysApart":31}]}},{"cve":"CVE-2022-41715","published":"2022-10-14","fixed":"1.19.2","kev":false,"link":{"from":"CVE-2022-32190","to":"CVE-2022-41715","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.19.1","toFixed":"1.19.2","daysApart":31}]}}],"package":"Go:stdlib"}}