Skip to content
OpenAdvisories
Unscored CVE-2021-41772 BIT-golang-2021-41772EUVD-2021-28780GHSA-8rv2-6fw3-rxjgGO-2021-0264

Panic when opening certain archives in archive/zip

Published Nov 8, 2021 · Updated Aug 4, 2024 · Assigned by mitre

Description

Go before 1.16.10 and 1.17.x before 1.17.3 allows an archive/zip Reader.Open panic via a crafted ZIP archive containing an invalid name or an empty filename field.

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
Ubuntu 22.04 LTS golang-1.17 No fix yet —
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 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Serverless 1 openshift-serverless-clients 1.1.0-2.el8 RHSA-2022:1745
Red Hat OpenShift 4 coreos-installer +1 0.12.0-1.rhaos4.10.el8 RHSA-2022:0055
Red Hat OpenShift 4 cri-o 1.23.0-92.rhaos4.10.gitdaab4d1.el7 RHSA-2022:0055
Red Hat OpenShift 4 jenkins 2.319.2.1643288987-1.el8 RHSA-2022:0055
Red Hat OpenShift 4 jenkins-2-plugins 4.10.1643404185-1.el8 RHSA-2022:0055
Red Hat OpenShift 4 openshift +1 4.10.0-202202250816.p0.ge419edf.assembly.stream.el7 RHSA-2022:0055
Red Hat OpenShift 4 openshift-clients +1 4.10.0-202202160023.p0.gf93da17.assembly.stream.el7 RHSA-2022:0055
Red Hat Devtools 2021 go-toolset-1.16 +10 1.16.12-1.el7_9 RHSA-2021:5176

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.10-1.32.1 SUSE-SU-2021:3834-1
SLES 15 SP3 go1.17 1.17.3-1.9.1 SUSE-SU-2021:3833-1
SLES 15 SP2 go1.16 1.16.10-1.32.1 SUSE-SU-2021:3834-1
SLES 15 SP2 go1.17 1.17.3-1.9.1 SUSE-SU-2021:3833-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed go1.16 1.16.10-1.1 openSUSE-SU-2024:11609-1
openSUSE Tumbleweed go1.17 1.17.3-1.1 openSUSE-SU-2024:11610-1
openSUSE Leap 15.3 go1.16 1.16.10-1.32.1 openSUSE-SU-2021:3834-1
openSUSE Leap 15.3 go1.17 1.17.3-1.9.1 openSUSE-SU-2021:3833-1
openSUSE Leap 15.2 go1.16 1.16.10-lp152.17.1 openSUSE-SU-2021:1539-1
ReleasePackageFixed inAdvisory
Alpine v3.24 go 1.17.3-r0 —
Alpine v3.23 go 1.17.3-r0 —
Alpine v3.22 go 1.17.3-r0 —
Alpine v3.21 go 1.17.3-r0 —
Alpine v3.20 go 1.17.3-r0 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 go 1.17.3-r0 —
Alpine v3.18 go 1.17.3-r0 —
Alpine v3.17 go 1.17.3-r0 —
Alpine v3.16 go 1.17.3-r0 —
Alpine v3.15 go 1.17.3-r0 —
Alpine v3.14 go 1.16.10-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 golang +7 1.19.3-2.amzn2023.0.2 ALAS2023-2023-048
Amazon Linux 2 golang +7 1.16.15-1.amzn2.0.1 ALAS2-2022-1776

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) golang 1.17.8-1 —

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.10 · >= 1.17.0-0, < 1.17.3 1.16.10, 1.17.3 GO-2021-0264

Advisories 22

References