blob: 90fc61e139746e10b861e7716bae95188ff06bcc [file] [log] [blame]
{
"id": "GO-2022-0533",
"published": "2022-07-28T17:25:07Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2022-29804"
],
"details": "On Windows, the filepath.Clean function can convert certain invalid paths to valid, absolute paths, potentially allowing a directory traversal attack.\n\nFor example, Clean(`.\\c:`) returns `c:`.",
"affected": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.17.11"
},
{
"introduced": "1.18.0"
},
{
"fixed": "1.18.3"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0533"
},
"ecosystem_specific": {
"imports": [
{
"path": "path/filepath",
"goos": [
"windows"
],
"symbols": [
"Clean"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://go.dev/cl/401595"
},
{
"type": "FIX",
"url": "https://go.googlesource.com/go/+/9cd1818a7d019c02fa4898b3e45a323e35033290"
},
{
"type": "REPORT",
"url": "https://go.dev/issue/52476"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ"
}
],
"credits": [
{
"name": "Unrud"
}
],
"schema_version": "1.3.1"
}