VDB
Sign up
HIGH7.5

GO-2022-0273

Panic due to crafted inputs in archive/zip

Quick fix

GO-2022-0273 — stdlib: upgrade to the fixed version with the command below.

go get stdlib@v1.16.8

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/stdlib
Introduced in: 0Fixed in: 1.16.8
Fixgo get stdlib@v1.16.8

References