CVE-2021-41772 json
Panic when opening certain archives in archive/zip
published 2021-11-08 5 y ago modified 2026-10-16 24 d ago also BIT-golang-2021-41772 , EUVD-2021-28780 , GO-2021-0264
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.3%
- EPSS 3.3% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami golang 1.16.10, 1.17.3
- go stdlib 1.16.10, 1.17.3
- golang go 1.16.10, 1.17.3
- delve RHEL 8 1.7.2-1.module+el8.6.0+12972+ebab5911
- golang RHEL 8 1.17.7-1.module+el8.6.0+14297+32a15e19
- go-toolset RHEL 8 1.17.7-1.module+el8.6.0+14297+32a15e19
- golang-bin RHEL 8 1.17.7-1.module+el8.6.0+14297+32a15e19
- golang-src RHEL 8 1.17.7-1.module+el8.6.0+14297+32a15e19
- golang-misc RHEL 8 1.17.7-1.module+el8.6.0+14297+32a15e19
- golang-race RHEL 8 1.17.7-1.module+el8.6.0+14297+32a15e19
- golang-tests RHEL 8 1.17.7-1.module+el8.6.0+14297+32a15e19
red hat advisories RHSA-2022:1819RHSA-2022:0055RHSA-2021:5176RHSA-2022:1745
- go1.16 SLE Module for Development Tools 15 SP3, SLE Module for Development Tools 15 SP2 1.16.10-1.32.1
- go1.17 SLE Module for Development Tools 15 SP3, SLE Module for Development Tools 15 SP2 1.17.3-1.9.1
suse advisories SUSE-SU-2021:3834-1SUSE-SU-2021:3833-1
- go1.16 openSUSE Tumbleweed 1.16.10-1.1
- go1.17 openSUSE Tumbleweed 1.17.3-1.1
- go1.16 openSUSE Leap 15.2 1.16.10-lp152.17.1
- go1.16 openSUSE Leap 15.3 1.16.10-1.32.1
- go1.17 openSUSE Leap 15.3 1.17.3-1.9.1
opensuse advisories openSUSE-SU-2024:11609-1openSUSE-SU-2024:11610-1openSUSE-SU-2021:1539-1openSUSE-SU-2021:3834-1openSUSE-SU-2021:3833-1
- delve AlmaLinux 8 1.7.2-1.module_el8.6.0+2736+ec10aba8
- golang AlmaLinux 8 1.17.7-1.module_el8.6.0+2736+ec10aba8
- go-toolset AlmaLinux 8 1.17.7-1.module_el8.6.0+2736+ec10aba8
- golang-bin AlmaLinux 8 1.17.7-1.module_el8.6.0+2736+ec10aba8
- golang-src AlmaLinux 8 1.17.7-1.module_el8.6.0+2736+ec10aba8
- golang-misc AlmaLinux 8 1.17.7-1.module_el8.6.0+2736+ec10aba8
- golang-race AlmaLinux 8 1.17.7-1.module_el8.6.0+2736+ec10aba8
- golang-tests AlmaLinux 8 1.17.7-1.module_el8.6.0+2736+ec10aba8
almalinux advisories ALSA-2022:1819
- delve Rocky Linux 8 1.7.2-1.module+el8.6.0+824+8e984c20
- golang Rocky Linux 8 1.17.7-1.module+el8.6.0+824+8e984c20
- go-toolset Rocky Linux 8 1.17.7-1.module+el8.6.0+824+8e984c20
rocky linux advisories RLSA-2022:1819
- go Alpine 3.14 1.16.10-r0
- go Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 1.17.3-r0
alpine advisories ALPINE-CVE-2021-41772
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- golang CBL-Mariner 2.0 1.17.8-1
azure linux advisories AZL-6452
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- go Arch Linux 2:1.17.3-1
arch linux advisories AVG-2527
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-41772 updated cvss 7.5
golang: archive/zip: Reader.Open panics on empty string
-
Red Hat OpenShift Serverless cli, openshift-serverless-1/kn-eventing-apiserver-receive-adapter-rhel9 Red Hat OpenShift Service Mesh 2.0 servicemesh, servicemesh-mixc, servicemesh-mixs, servicemesh-grafana, servicemesh-istioctl, servicemesh-pilot-agent, +2 more Red Hat OpenShift Service Mesh 2.1 servicemesh, servicemesh-cni, servicemesh-grafana, servicemesh-pilot-agent, servicemesh-pilot-discovery Red Hat Advanced Cluster Security 3 advanced-cluster-security/rhacs-main-rhel8, advanced-cluster-security/rhacs-scanner-rhel8affected: no fix available
-
Red Hat Ceph Storage 2 golang, grafana, golang-bin, golang-src Red Hat Ceph Storage 3 golang, grafana, golang-bin, golang-src, grafana-container, prometheus-node-exporteraffected: no fix planned “Out of support scope”
-
Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8 Red Hat Ceph Storage 5 rhceph/rhceph-5-dashboard-rhel8affected: no fix available “Fix deferred”
-
Red Hat Quay 3 quay/clair-rhel8, quay/quay-builder-rhel8, quay/quay-operator-rhel8affected: no fix available
-
Red Hat Storage 3 golang, grafana, golang-bin, golang-src, golang-misc, golang-tests Red Hat Service Telemetry Framework 1.2 for RHEL 8 stf/sg-core-rhel8affected: no fix planned “Will not fix”
-
Red Hat Developer Tools for Red Hat Enterprise Linux Server (v. 7) go-toolset-1.16 1.16.12-1.el7_9, go-toolset-1.16-build 1.16.12-1.el7_9, go-toolset-1.16-golang 1.16.12-1.el7_9, go-toolset-1.16-runtime 1.16.12-1.el7_9, go-toolset-1.16-scldevel 1.16.12-1.el7_9, go-toolset-1.16-golang-bin 1.16.12-1.el7_9, +4 morefixed: vendor fix RHSA-2021:5176
-
Red Hat Enterprise Linux AppStream (v. 8) delve 1.7.2-1.module+el8.6.0+12972+ebab5911, golang 1.17.7-1.module+el8.6.0+14297+32a15e19, go-toolset 1.17.7-1.module+el8.6.0+14297+32a15e19, golang-bin 1.17.7-1.module+el8.6.0+14297+32a15e19, golang-src 1.17.7-1.module+el8.6.0+14297+32a15e19, golang-misc 1.17.7-1.module+el8.6.0+14297+32a15e19, +2 morefixed: vendor fix RHSA-2022:1819
-
Red Hat Migration Toolkit 1.7 rhmtc/openshift-migration-velero-rhel8 v1.7.1-3fixed: vendor fix RHSA-2022:1734
show 4 moreshow fewer
-
Red Hat OpenShift Container Platform 4.10 openshift 4.10.0-202202250816.p0.ge419edf.assembly.stream.el7, openshift 4.10.0-202202250816.p0.ge419edf.assembly.stream.el8, openshift-clients 4.10.0-202202160023.p0.gf93da17.assembly.stream.el7, openshift-clients 4.10.0-202202160023.p0.gf93da17.assembly.stream.el8, openshift-hyperkube 4.10.0-202202250816.p0.ge419edf.assembly.stream.el7, openshift-hyperkube 4.10.0-202202250816.p0.ge419edf.assembly.stream.el8, +4 morefixed: vendor fix RHSA-2022:0055
-
Red Hat OpenShift Serverless 1.0 openshift-serverless-clients 1.1.0-2.el8fixed: vendor fix RHSA-2022:1745
-
Red Hat OpenShift Serverless 1.22 openshift-serverless-1/client-kn-rhel8 1.1.0-3, openshift-serverless-1/serving-queue-rhel8 1.1.2-2, openshift-serverless-1/eventing-mtping-rhel8 1.1.0-2, openshift-serverless-1/kourier-control-rhel8 1.1.0-2, openshift-serverless-1/serving-webhook-rhel8 1.1.2-2, openshift-serverless-1/eventing-webhook-rhel8 1.1.0-2, +32 morefixed: vendor fix RHSA-2022:1747
-
Red Hat Enterprise Linux 7 golang, golang-bin, golang-src, golang-misc, golang-tests Red Hat Enterprise Linux 9 golang, go-toolset, golang-bin, golang-src, golang-misc, golang-race, +1 more Red Hat Migration Toolkit 1.7 rhmtc/openshift-migration-ui-rhel8 v1.7.1-6, rhmtc/openshift-velero-plugin-rhel8 v1.7.1-4, rhmtc/openshift-migration-openvpn-rhel8 v1.7.1-4, rhmtc/openshift-migration-registry-rhel8 v1.7.1-4, rhmtc/openshift-migration-rhel8-operator v1.7.1-11, rhmtc/openshift-migration-controller-rhel8 v1.7.1-7, +9 more Red Hat OpenShift Container Platform 3.11 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +7 more Red Hat OpenShift Container Platform 4.10 buildah 1.19.7-1.el8, haproxy 2.2.19-1.el8, cri-tools 1.23.0-1.el7, cri-tools 1.23.0-1.el8, python-pbr 5.5.1-1.el8ost, buildah-tests 1.19.7-1.el8, +321 more Red Hat Openshift Data Foundation 4 mcg, odf4/cephcsi-rhel9, odf4/ocs-rhel9-operator, noobaa-operator-container, odf4/ocs-must-gather-rhel8, odf4/rook-ceph-rhel9-operatornot affected: vulnerable code not present
+8 more productsfewer
Red Hat OpenShift Virtualization 2 kubevirt Red Hat OpenShift Virtualization 4 kubevirt Red Hat OpenStack Platform 16.1 etcd, golang-github-vbatts-tar-split Red Hat OpenStack Platform 16.2 etcd, golang-github-vbatts-tar-split Red Hat Quay 3 quay/quay-rhel8, quay/quay-openshift-bridge-rhel8-operator, quay/quay-container-security-operator-rhel8 Red Hat Storage 3 etcd, heketi, heketi-client, python-heketi, rhgs3/rhgs-gluster-block-prov-rhel7 Red Hat Service Telemetry Framework 1.2 for RHEL 8 smart-gateway-container Red Hat Service Telemetry Framework 1.3 for RHEL 8 stf/sg-core-rhel8
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-23-047-04 updated cvss 7.5
Siemens Brownfield Connectivity Gateway
-
Siemens Brownfield Connectivity - Gateway <V1.10affected: fixed in V1.11
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Exploit prediction
3.25% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | golang | <1.16.10 >=1.17.0, <1.17.3 |
1.16.10 1.17.3 |
| go | stdlib | <1.16.10 >=1.17.0-0, <1.17.3 |
1.16.10 1.17.3 |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
go.dev
/cl/349770
patch
-
go.googlesource.com
/go/+/b24687394b55a93449e2be4e6892ead58ea9a10f
patch
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/4OFS3M3OFB24SWPTIAPARKGPUMQVUY6Z/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/ON7BQRRJZBOR5TJHURBAB3WLF4YXFC6Z/
vendor-advisory, web
-
security.gentoo.org
/glsa/202208-02
vendor-advisory, third-party-advisory, advisory
-
groups.google.com
/g/golang-announce/c/0fM21h43arc
vendor-advisory, advisory, web
-
oracle.com
/security-alerts/cpujul2022.html
third-party-advisory, advisory
-
security.netapp.com
/advisory/ntap-20211210-0003/
third-party-advisory, advisory
- cert-portal.siemens.com /productcert/pdf/ssa-744259.pdf
-
nvd.nist.gov
/vuln/detail/CVE-2021-41772
web
-
go.dev
/issue/48085
report
Sources
- CVE List CVE-2021-41772
- NVD CVE-2021-41772
- OSV BIT-golang-2021-41772
- OSV GO-2021-0264
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.