PT-2022-10892
CVE-2021-39293
·
Published
2021-09-13
·
Updated
2026-10-30
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
Go versions prior to 1.16.8
Go versions 1.17.x prior to 1.17.1
Description
The issue arises from a crafted archive header that falsely designates a large number of files, causing the NewReader or OpenReader functions in archive/zip to panic. This is due to an incomplete fix for a previous issue. The NewReader and OpenReader functions 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.
Recommendations
For Go versions prior to 1.16.8, update to version 1.16.8 or later.
For Go versions 1.17.x prior to 1.17.1, update to version 1.17.1 or later.
As a temporary workaround, consider restricting the use of the NewReader and OpenReader functions in archive/zip until a patch is available.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾