All the vulnerabilites related to Go standard library - net/url
cve-2022-32190
Vulnerability from cvelistv5
Published
2022-09-13 17:08
Modified
2024-08-03 07:32
Severity ?
EPSS score ?
Summary
Failure to strip relative path components in net/url
References
Impacted products
▼ | Vendor | Product |
---|---|---|
Go standard library | net/url |
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-03T07:32:56.001Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_transferred" ], "url": "https://groups.google.com/g/golang-announce/c/x49AQzIVX-s" }, { "tags": [ "x_transferred" ], "url": "https://go.dev/issue/54385" }, { "tags": [ "x_transferred" ], "url": "https://go.dev/cl/423514" }, { "tags": [ "x_transferred" ], "url": "https://pkg.go.dev/vuln/GO-2022-0988" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "collectionURL": "https://pkg.go.dev", "defaultStatus": "unaffected", "packageName": "net/url", "product": "net/url", "programRoutines": [ { "name": "URL.JoinPath" }, { "name": "JoinPath" } ], "vendor": "Go standard library", "versions": [ { "lessThan": "1.19.1", "status": "affected", "version": "1.19.0-0", "versionType": "semver" } ] } ], "credits": [ { "lang": "en", "value": "@q0jt" } ], "descriptions": [ { "lang": "en", "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." } ], "problemTypes": [ { "descriptions": [ { "description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)", "lang": "en" } ] } ], "providerMetadata": { "dateUpdated": "2023-06-12T19:05:24.713Z", "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc", "shortName": "Go" }, "references": [ { "url": "https://groups.google.com/g/golang-announce/c/x49AQzIVX-s" }, { "url": "https://go.dev/issue/54385" }, { "url": "https://go.dev/cl/423514" }, { "url": "https://pkg.go.dev/vuln/GO-2022-0988" } ], "title": "Failure to strip relative path components in net/url" } }, "cveMetadata": { "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc", "assignerShortName": "Go", "cveId": "CVE-2022-32190", "datePublished": "2022-09-13T17:08:57", "dateReserved": "2022-05-31T00:00:00", "dateUpdated": "2024-08-03T07:32:56.001Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1" }