blob: e07f6357ad0baf7c5a2de72ef1474dae02e7fdeb [file] [log] [blame]
{
"id": "GO-2022-0988",
"published": "2022-09-12T20:23:15Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2022-32190"
],
"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"
},
{
"fixed": "1.19.1"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0988"
},
"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"
}
],
"schema_version": "1.3.1"
}