blob: f4e1718a1fe055a37e7375a6cf87cdc5875e5896 [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2022-0988",
"modified": "0001-01-01T00:00:00Z",
"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"
}
}