{ "data_type": "CVE", "data_format": "MITRE", "data_version": "4.0", "CVE_data_meta": { "ID": "CVE-2022-32190", "ASSIGNER": "security@golang.org", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "Go", "product": { "product_data": [ { "product_name": "net/url", "version": { "version_data": [ { "version_affected": ">=", "version_value": "1.19.0", "platform": "" }, { "version_affected": "<", "version_value": "1.19.1", "platform": "" } ] } } ] } } ] } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')" } ] } ] }, "description": { "description_data": [ { "lang": "eng", "value": "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": { "reference_data": [ { "refsource": "CONFIRM", "name": "https://groups.google.com/g/golang-announce/c/x49AQzIVX-s", "url": "https://groups.google.com/g/golang-announce/c/x49AQzIVX-s" }, { "refsource": "CONFIRM", "name": "https://go.dev/issue/54385", "url": "https://go.dev/issue/54385" }, { "refsource": "CONFIRM", "name": "https://go.dev/cl/423514", "url": "https://go.dev/cl/423514" }, { "refsource": "CONFIRM", "name": "https://pkg.go.dev/vuln/GO-2022-0988", "url": "https://pkg.go.dev/vuln/GO-2022-0988" }, { "refsource": "FEDORA", "name": "FEDORA-2022-45097317b4", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JXKTHIGE5F576MAPFYCIJXNRGBSPISUF/" }, { "refsource": "GENTOO", "name": "GLSA-202209-26", "url": "https://security.gentoo.org/glsa/202209-26" } ] }, "credit": "@q0jt" }