Go Vulnerability Database
GO-2021-0240
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | stdlib | All versions before 1.15.13 (fixed in 1.15.13) From 1.16.0-0 before 1.16.5 (fixed in 1.16.5) |