Skip to content
OpenAdvisories
Unscored CVE-2021-33196 BIT-golang-2021-33196EUVD-2021-19909GHSA-6r28-26q2-vxwjGO-2021-0240

Panic when reading certain archives in archive/zip

Published Aug 2, 2021 · Updated Aug 3, 2024 · Assigned by mitre

Description

In archive/zip in Go before 1.15.13 and 1.16.x before 1.16.5, a crafted file count (in an archive's header) can cause a NewReader or OpenReader panic.

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.9-4 —
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.5.0-2.module+el8.4.0+8864+58b0fcdb RHSA-2021:3076
RHEL 8 golang +7 1.15.14-1.module+el8.4.0+11833+614b07b8 RHSA-2021:3076
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Serverless 1 openshift-serverless-clients 0.22.0-3.el8 RHSA-2021:3555, RHSA-2021:2704
Red Hat OpenShift 4 coreos-installer +1 0.10.0-2.rhaos4.9.el8 RHSA-2021:3758
Red Hat OpenShift 4 cri-o 1.21.2-8.rhaos4.8.git8d4264e.el7 RHSA-2021:2984
Red Hat OpenShift 4 ignition +1 2.9.0-7.rhaos4.8.el8 RHSA-2021:2984
Red Hat OpenShift 4 jenkins 2.289.3.1630554997-1.el8 RHSA-2021:3758
Red Hat OpenShift 4 openshift +1 4.8.0-202107300027.p0.git.38b3ecc.assembly.stream.el7 RHSA-2021:3758, RHSA-2021:2984
Red Hat OpenShift 4 openshift-clients +1 4.8.0-202107292313.p0.git.1077b05.assembly.stream.el7 RHSA-2021:2984
Red Hat OpenShift 4 openvswitch2.15 +5 2.15.0-28.el8fdp RHSA-2021:3758
Red Hat Devtools 2021 go-toolset-1.15 +10 1.15.13-1.el7_9 RHSA-2021:2634

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.5.0-2.module+el8.4.0+396+d2d16ae3 RLSA-2021:3076
Rocky Linux 8 golang +1 1.15.14-1.module+el8.4.0+632+4dba2916 RLSA-2021:3076
ReleasePackageFixed inAdvisory
SLES 15 SP3 go1.15 1.15.13-1.33.1 SUSE-SU-2021:2214-1
SLES 15 SP3 go1.16 1.16.5-1.17.1 SUSE-SU-2021:2186-1
SLES 15 SP2 go1.15 1.15.13-1.33.1 SUSE-SU-2021:2214-1
SLES 15 SP2 go1.16 1.16.5-1.17.1 SUSE-SU-2021:2186-1
SLES 15 SP1 go1.15 1.15.13-1.33.1 SUSE-SU-2021:2214-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 go1.15 1.15.13-1.33.1 SUSE-SU-2021:2214-1
SLE HPC 15 SP1 go1.15 1.15.13-1.33.1 SUSE-SU-2021:2214-1
SUSE Manager Server 4.0 go1.15 1.15.13-1.33.1 SUSE-SU-2021:2214-1
SUSE Manager Retail Branch Server 4.0 go1.15 1.15.13-1.33.1 SUSE-SU-2021:2214-1
SUSE Manager Proxy 4.0 go1.15 1.15.13-1.33.1 SUSE-SU-2021:2214-1
SUSE Enterprise Storage 6 go1.15 1.15.13-1.33.1 SUSE-SU-2021:2214-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed go1.15 1.15.15-1.2 openSUSE-SU-2024:10808-1
openSUSE Tumbleweed go1.16 1.16.8-1.1 openSUSE-SU-2024:10809-1
openSUSE Leap 15.3 go1.15 1.15.13-1.33.1 openSUSE-SU-2021:2214-1
openSUSE Leap 15.3 go1.16 1.16.5-1.17.1 openSUSE-SU-2021:2186-1
openSUSE Leap 15.2 go1.15 1.15.13-lp152.20.1 openSUSE-SU-2021:0950-1
ReleasePackageFixed inAdvisory
Alpine v3.24 go 1.16.5-r0 —
Alpine v3.23 go 1.16.5-r0 —
Alpine v3.22 go 1.16.5-r0 —
Alpine v3.21 go 1.16.5-r0 —
Alpine v3.20 go 1.16.5-r0 —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 go 1.16.5-r0 —
Alpine v3.18 go 1.16.5-r0 —
Alpine v3.17 go 1.16.5-r0 —
Alpine v3.16 go 1.16.5-r0 —
Alpine v3.15 go 1.16.5-r0 —
Alpine v3.14 go 1.16.5-r0 —
Alpine v3.13 go 1.15.13-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 golang +7 1.19.3-2.amzn2023.0.2 ALAS2023-2023-048
Amazon Linux 2 golang +6 1.15.14-1.amzn2.0.1 ALAS2-2021-1694

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 golang No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 delve 1.5.0-2.0.1.module+el8.4.0+20021+8a86d991 ELSA-2021-3076
Oracle Linux 8 golang +7 1.15.14-1.module+el8.4.0+20290+7af514f4 ELSA-2021-3076

Affected packages

EcosystemPackageAffectedFixedRecord
Go stdlib < 1.15.13 · >= 1.16.0-0, < 1.16.5 1.15.13, 1.16.5 GO-2021-0240

Advisories 23

References