ADVISORIES

Go Vulnerability Database

GO-2022-0273

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.

Affected packages

EcosystemPackageAffected versions
Gostdlib
All versions before 1.16.8 (fixed in 1.16.8)
From 1.17.0-0 before 1.17.1 (fixed in 1.17.1)

References