GO-2022-0273

Source
https://pkg.go.dev/vuln/GO-2022-0273
Import Source
https://vuln.go.dev/ID/GO-2022-0273.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2022-0273
Aliases
Published
2022-05-18T18:23:31Z
Modified
2024-05-20T16:03:47Z
Summary
Panic due to crafted inputs in archive/zip
Details

The NewReader and OpenReader functions in archive/zip 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. This is caused by an incomplete fix for CVE-2021-33196.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2022-0273"
}
References
Credits
    • OSS-Fuzz Project
    • Emmanuel Odeke

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.16.8
Introduced
1.17.0-0
Fixed
1.17.1

Ecosystem specific

{
    "imports": [
        {
            "path": "archive/zip",
            "symbols": [
                "NewReader",
                "OpenReader"
            ]
        }
    ]
}