blob: 92185e75df4069ee9b9a2fb56533f1cbdee3f7b5 [file] [log] [blame]
{
"id": "GO-2022-1037",
"published": "0001-01-01T00:00:00Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2022-2879"
],
"details": "Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. After fix, Reader.Read limits the maximum size of header blocks to 1 MiB.",
"affected": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.7"
},
{
"introduced": "1.19.0"
},
{
"fixed": "1.19.2"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-1037"
},
"ecosystem_specific": {
"imports": [
{
"path": "archive/tar",
"symbols": [
"Reader.Next",
"Reader.next",
"Writer.WriteHeader",
"Writer.writePAXHeader",
"parsePAX"
]
}
]
}
}
],
"references": [
{
"type": "REPORT",
"url": "https://go.dev/issue/54853"
},
{
"type": "FIX",
"url": "https://go.dev/cl/439355"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/xtuG5faxtaU"
}
],
"credits": [
{
"name": "Adam Korczynski (ADA Logics) and OSS-Fuzz"
}
],
"schema_version": "1.3.1"
}