Advisory

GO-2022-0273

Also known as: BIT-golang-2021-39293, CVE-2021-39293

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.

Severity

Not rated by the source.

Dates

Published
2022-05-18 18:23 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 0, fixed 1.16.8, introduced 1.17.0-0, fixed 1.17.1 (semver)

Fixed versions

1.16.8, 1.17.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences