cve.bz

CVE-2021-41772 Improper Input Validation

7.5 highEPSS 3.3%Fix available

High (7.5). EPSS 3.3% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.16.10, 1.17.3.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
3.3% (unchanged from 3.3% a week ago; 3.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-41772 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-41772?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-41772?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-41772 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
golang:gobefore 1.16.10
golang:gofrom 1.17.0 before 1.17.3
fedoraproject:fedora34
fedoraproject:fedora35

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2021-0264Gostdlib<1.16.10
>=1.17.0-0 <1.17.3
1.16.10, 1.17.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTSgolang-1.8no fix listedUBUNTU-CVE-2021-41772
Ubuntu22.04:LTSgolang-1.17no fix listedUBUNTU-CVE-2021-41772
UbuntuPro:18.04:LTS, Pro:20.04:LTSgolang-1.16no fix listedUBUNTU-CVE-2021-41772
Red Hatdevtools:2021go-toolset-1.16, go-toolset-1.16-build, go-toolset-1.16-golang and 8 more0:1.16.12-1.el7_9RHSA-2021:5176
Red Hatenterprise_linux:8::appstreamdelve, delve-debuginfo, delve-debugsource0:1.7.2-1.module+el8.6.0+12972+ebab5911RHSA-2022:1819
Red Hatenterprise_linux:8::appstreamgolang, go-toolset, golang-bin and 5 more0:1.17.7-1.module+el8.6.0+14297+32a15e19RHSA-2022:1819
Red Hatopenshift:4.10::el7cri-o, cri-o-debuginfo0:1.23.0-92.rhaos4.10.gitdaab4d1.el7RHSA-2022:0055
Red Hatopenshift:4.10::el7openshift, openshift-hyperkube0:4.10.0-202202250816.p0.ge419edf.assembly.stream.el7RHSA-2022:0055
Red Hatopenshift:4.10::el7openshift-clients, openshift-clients-redistributable0:4.10.0-202202160023.p0.gf93da17.assembly.stream.el7RHSA-2022:0055
Red Hatopenshift:4.10::el8coreos-installer, coreos-installer-bootinfra, coreos-installer-debuginfo and 2 more0:0.12.0-1.rhaos4.10.el8RHSA-2022:0055
Red Hatopenshift:4.10::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.23.1-9.rhaos4.10.gitbdffb9a.el8RHSA-2022:0055
Red Hatopenshift:4.10::el8jenkins0:2.319.2.1643288987-1.el8RHSA-2022:0055
Red Hatopenshift:4.10::el8jenkins-2-plugins0:4.10.1643404185-1.el8RHSA-2022:0055
Red Hatopenshift:4.10::el8openshift, openshift-hyperkube0:4.10.0-202202250816.p0.ge419edf.assembly.stream.el8RHSA-2022:0055
Red Hatopenshift:4.10::el8openshift-clients, openshift-clients-redistributable0:4.10.0-202202160023.p0.gf93da17.assembly.stream.el8RHSA-2022:0055
1 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Development Tools 15 SP2, Linux Enterprise Module for Development Tools 15 SP3go1.161.16.10-1.32.1SUSE-SU-2021:3834-1
SUSELinux Enterprise Module for Development Tools 15 SP2, Linux Enterprise Module for Development Tools 15 SP3go1.171.17.3-1.9.1SUSE-SU-2021:3833-1
openSUSELeap 15.2go1.161.16.10-lp152.17.1openSUSE-SU-2021:1539-1
openSUSELeap 15.3go1.161.16.10-1.32.1openSUSE-SU-2021:3834-1
openSUSELeap 15.3go1.171.17.3-1.9.1openSUSE-SU-2021:3833-1
openSUSETumbleweedgo1.161.16.10-1.1openSUSE-SU-2024:11609-1
openSUSETumbleweedgo1.171.17.3-1.1openSUSE-SU-2024:11610-1
AlmaLinux8delve1.7.2-1.module_el8.6.0+2736+ec10aba8ALSA-2022:1819
AlmaLinux8golang, go-toolset, golang-bin and 5 more1.17.7-1.module_el8.6.0+2736+ec10aba8ALSA-2022:1819
Rocky Linux8delve0:1.7.2-1.module+el8.6.0+824+8e984c20RLSA-2022:1819
Rocky Linux8golang, go-toolset0:1.17.7-1.module+el8.6.0+824+8e984c20RLSA-2022:1819
Alpinev3.14go1.16.10-r0ALPINE-CVE-2021-41772
Alpinev3.15, v3.16, v3.17 and 7 morego1.17.3-r0ALPINE-CVE-2021-41772
Azure Linux2golang1.17.8-1AZL-6452

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

* In OpenShift Container Platform multiple components are written in Go and use archive/zip from the standard library. However, all such components are short lived client side tools, not long lived server side executables. As the maximum impact of this vulnerability is a denial of service in client utilities, this vulnerability is rated Low for OpenShift Container Platform.

* Because Service Telemetry Framework1.2 will be retiring soon and the flaw's impact is lower, no update will be provided at this time for STF1.2's sg-core-container.

* Because Red Hat Ceph Storage only uses Go's archive/zip for the Grafana CLI and thus is not directly exploitable, the vulnerability has been rated low for Red Hat Ceph Storage.

ProductPackageStateAdvisory
Openshift Serveless 1.22openshift-serverless-1/client-kn-rhel8:1.1.0-3Fixed 2022-05-09RHSA-2022:1747
Openshift Serveless 1.22openshift-serverless-1/eventing-apiserver-receive-adapter-rhel8:1.1.0-2Fixed 2022-05-09RHSA-2022:1747
Openshift Serveless 1.22openshift-serverless-1/eventing-controller-rhel8:1.1.0-2Fixed 2022-05-09RHSA-2022:1747
Openshift Serveless 1.22openshift-serverless-1/eventing-in-memory-channel-controller-rhel8:1.1.0-2Fixed 2022-05-09RHSA-2022:1747
Openshift Serveless 1.22openshift-serverless-1/eventing-in-memory-channel-dispatcher-rhel8:1.1.0-2Fixed 2022-05-09RHSA-2022:1747
Openshift Serveless 1.22openshift-serverless-1/eventing-kafka-broker-controller-rhel8:1.1.0-3Fixed 2022-05-09RHSA-2022:1747
Openshift Serveless 1.22openshift-serverless-1/eventing-kafka-broker-dispatcher-rhel8:1.1.0-2Fixed 2022-05-09RHSA-2022:1747
Openshift Serveless 1.22openshift-serverless-1/eventing-kafka-broker-post-install-rhel8:1.1.0-3Fixed 2022-05-09RHSA-2022:1747
Openshift Serveless 1.22openshift-serverless-1/eventing-kafka-broker-webhook-rhel8:1.1.0-3Fixed 2022-05-09RHSA-2022:1747
Openshift Serveless 1.22openshift-serverless-1/eventing-mtbroker-filter-rhel8:1.1.0-2Fixed 2022-05-09RHSA-2022:1747
OpenShift ServerlesscliAffected
OpenShift Serverlessknative-eventingAffected
OpenShift Service Mesh 2.0servicemeshAffected
OpenShift Service Mesh 2.0servicemesh-grafanaAffected
OpenShift Service Mesh 2.1servicemeshAffected
OpenShift Service Mesh 2.1servicemesh-grafanaAffected
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-main-rhel8Affected
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-scanner-rhel8Affected
Red Hat Ceph Storage 2golangOut of support scope
Red Hat Ceph Storage 2grafanaOut of support scope
72 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-41772.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-047-04Siemens Brownfield Connectivity Gateway2023-02-14MultipleBrownfield Connectivity - Gatewaynone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON