{ "data_version": "4.0", "data_type": "CVE", "data_format": "MITRE", "CVE_data_meta": { "ID": "CVE-2022-32190", "ASSIGNER": "security@golang.org", "STATE": "PUBLIC" }, "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')" } ] } ] }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "Go standard library", "product": { "product_data": [ { "product_name": "net/url", "version": { "version_data": [ { "version_affected": "<", "version_name": "1.19.0-0", "version_value": "1.19.1" } ] } } ] } } ] } }, "references": { "reference_data": [ { "url": "https://groups.google.com/g/golang-announce/c/x49AQzIVX-s", "refsource": "MISC", "name": "https://groups.google.com/g/golang-announce/c/x49AQzIVX-s" }, { "url": "https://go.dev/issue/54385", "refsource": "MISC", "name": "https://go.dev/issue/54385" }, { "url": "https://go.dev/cl/423514", "refsource": "MISC", "name": "https://go.dev/cl/423514" }, { "url": "https://pkg.go.dev/vuln/GO-2022-0988", "refsource": "MISC", "name": "https://pkg.go.dev/vuln/GO-2022-0988" } ] }, "credits": [ { "lang": "en", "value": "@q0jt" } ] }