Skip to content
OpenAdvisories
Unscored CVE-2021-39293 BIT-golang-2021-39293EUVD-2021-25654GHSA-j532-8pqq-78jrGO-2022-0273

Panic due to crafted inputs in archive/zip

Published Jan 24, 2022 · Updated Aug 4, 2024 · Assigned by mitre

Description

In archive/zip in Go before 1.16.8 and 1.17.x before 1.17.1, a crafted archive header (falsely designating that many files are present) can cause a NewReader or OpenReader panic. NOTE: this issue exists because of an incomplete fix for CVE-2021-33196.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 golang-1.15 1.15.15-1~deb11u1 —
Debian 10 golang-1.11 1.11.6-1+deb10u6 DLA-3395-1
Debian 9 golang-1.7 1.7.4-2+deb9u4 DLA-2892-1
Debian 9 golang-1.8 1.8.1-1+deb9u4 DLA-2891-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS golang-1.8 No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS golang-1.16 No fix yet —
Ubuntu Pro 18.04 LTS golang-1.16 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 delve 1.7.2-1.module+el8.6.0+12972+ebab5911 RHSA-2022:1819
RHEL 8 golang +7 1.17.7-1.module+el8.6.0+14297+32a15e19 RHSA-2022:1819
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Serverless 1 openshift-serverless-clients 0.26.0-2.el8 RHSA-2022:0432

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 delve 1.7.2-1.module_el8.6.0+2736+ec10aba8 ALSA-2022:1819
AlmaLinux 8 golang +7 1.17.7-1.module_el8.6.0+2736+ec10aba8 ALSA-2022:1819

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 delve 1.7.2-1.module+el8.6.0+824+8e984c20 RLSA-2022:1819
Rocky Linux 8 golang +1 1.17.7-1.module+el8.6.0+824+8e984c20 RLSA-2022:1819
ReleasePackageFixed inAdvisory
SLES 15 SP3 go1.16 1.16.8-1.26.1 SUSE-SU-2021:3292-1
SLES 15 SP3 go1.17 1.17.1-1.3.1 SUSE-RU-2021:3315-1
SLES 15 SP2 go1.16 1.16.8-1.26.1 SUSE-SU-2021:3292-1
SLES 15 SP2 go1.17 1.17.1-1.3.1 SUSE-RU-2021:3315-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed go1.16 1.16.8-1.1 openSUSE-SU-2024:10809-1
openSUSE Tumbleweed go1.17 1.17.1-1.1 openSUSE-SU-2024:10810-1
openSUSE Leap 15.3 go1.16 1.16.8-1.26.1 openSUSE-SU-2021:3292-1
openSUSE Leap 15.2 go1.16 1.16.8-lp152.11.1 openSUSE-SU-2021:1342-1
ReleasePackageFixed inAdvisory
Alpine v3.24 go 1.17.1-r0 —
Alpine v3.23 go 1.17.1-r0 —
Alpine v3.22 go 1.17.1-r0 —
Alpine v3.21 go 1.17.1-r0 —
Alpine v3.20 go 1.17.1-r0 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 go 1.17.1-r0 —
Alpine v3.18 go 1.17.1-r0 —
Alpine v3.17 go 1.17.1-r0 —
Alpine v3.16 go 1.17.1-r0 —
Alpine v3.15 go 1.17.1-r0 —
Alpine v3.14 go 1.16.8-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 golang +7 1.16.15-1.amzn2.0.1 ALAS2-2022-1776

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 delve 1.7.2-1.0.1.module+el8.6.0+20559+3b94dc2a ELSA-2022-1819
Oracle Linux 8 golang +7 1.17.7-1.module+el8.6.0+20559+3b94dc2a ELSA-2022-1819

Affected packages

EcosystemPackageAffectedFixedRecord
Go stdlib < 1.16.8 · >= 1.17.0-0, < 1.17.1 1.16.8, 1.17.1 GO-2022-0273

Advisories 18

References