blob: 9283cc68d2d98df0b397eef3c890f36ed63c190b [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2021-0067",
"modified": "0001-01-01T00:00:00Z",
"published": "2021-04-14T20:04:52Z",
"aliases": [
"CVE-2021-27919"
],
"summary": "Panic when opening archives in archive/zip",
"details": "Using Reader.Open on an archive containing a file with a path prefixed by \"../\" will cause a panic due to a stack overflow. If parsing user supplied archives, this may be used as a denial of service vector.",
"affected": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.16.0-0"
},
{
"fixed": "1.16.1"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "archive/zip",
"symbols": [
"toValidName"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://go.dev/cl/300489"
},
{
"type": "FIX",
"url": "https://go.googlesource.com/go/+/cd3b4ca9f20fd14187ed4cdfdee1a02ea87e5cd8"
},
{
"type": "REPORT",
"url": "https://go.dev/issue/44916"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw/m/zzhWj5jPAQAJ"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2021-0067",
"review_status": "REVIEWED"
}
}