GO-2021-0240

Source
https://pkg.go.dev/vuln/GO-2021-0240
Import Source
https://vuln.go.dev/ID/GO-2021-0240.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2021-0240
Aliases
Published
2022-02-17T17:33:25Z
Modified
2024-05-20T16:03:47Z
Summary
Panic when reading certain archives in archive/zip
Details

NewReader and OpenReader can cause a panic or an unrecoverable fatal error when reading an archive that claims to contain a large number of files, regardless of its actual size.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2021-0240"
}
References
Credits
    • OSS-Fuzz (discovery)
    • Emmanuel Odeke (reporter)

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.15.13
Introduced
1.16.0-0
Fixed
1.16.5

Ecosystem specific

{
    "imports": [
        {
            "path": "archive/zip",
            "symbols": [
                "Reader.init"
            ]
        }
    ]
}