cve.bz

CVE-2021-39293

7.5 highEPSS 7.4%Fix available

High (7.5). EPSS 7.4% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.16.8, 1.17.1.

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

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
7.4% (unchanged from 6.9% a week ago; 6.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
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-39293 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-39293?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-39293?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-39293 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.8
golang:gofrom 1.17.0 before 1.17.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2022-0273Gostdlib<1.16.8
>=1.17.0-0 <1.17.1
1.16.8, 1.17.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9golang-1.71.7.4-2+deb9u4DLA-2892-1
Debian9golang-1.81.8.1-1+deb9u4DLA-2891-1
Debian10golang-1.111.11.6-1+deb10u6DLA-3395-1
Debian11golang-1.151.15.15-1~deb11u1DEBIAN-CVE-2021-39293
Ubuntu18.04:LTSgolang-1.8no fix listedUBUNTU-CVE-2021-39293
UbuntuPro:18.04:LTS, Pro:20.04:LTSgolang-1.16no fix listedUBUNTU-CVE-2021-39293
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 Hatserverless:1.0::el8openshift-serverless-clients0:0.26.0-2.el8RHSA-2022:0432
SUSELinux Enterprise Module for Development Tools 15 SP2, Linux Enterprise Module for Development Tools 15 SP3go1.161.16.8-1.26.1SUSE-SU-2021:3292-1
SUSELinux Enterprise Module for Development Tools 15 SP2, Linux Enterprise Module for Development Tools 15 SP3go1.171.17.1-1.3.1SUSE-RU-2021:3315-1
openSUSELeap 15.2go1.161.16.8-lp152.11.1openSUSE-SU-2021:1342-1
openSUSELeap 15.3go1.161.16.8-1.26.1openSUSE-SU-2021:3292-1
openSUSETumbleweedgo1.161.16.8-1.1openSUSE-SU-2024:10809-1
openSUSETumbleweedgo1.171.17.1-1.1openSUSE-SU-2024:10810-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.8-r0ALPINE-CVE-2021-39293
Alpinev3.15, v3.16, v3.17 and 7 morego1.17.1-r0ALPINE-CVE-2021-39293

From the distributions' data via OSV.dev: the Debian Security Tracker; 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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · 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.

* This flaw is out of support scope for Red Hat Enterprise Linux 7. For more information about Red Hat Enterprise Linux support scope, please see https://access.redhat.com/support/policy/updates/errata

* 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 smart-gateway-container and sg-core-container.

ProductPackageStateAdvisory
Openshift Serveless 1.20openshift-serverless-1/client-kn-rhel8:0.26.0-1Fixed 2022-02-03RHSA-2022:0434
Openshift Serveless 1.20openshift-serverless-1/eventing-apiserver-receive-adapter-rhel8:0.26.0-1Fixed 2022-02-03RHSA-2022:0434
Openshift Serveless 1.20openshift-serverless-1/eventing-controller-rhel8:0.26.0-1Fixed 2022-02-03RHSA-2022:0434
Openshift Serveless 1.20openshift-serverless-1/eventing-in-memory-channel-controller-rhel8:0.26.0-1Fixed 2022-02-03RHSA-2022:0434
Openshift Serveless 1.20openshift-serverless-1/eventing-in-memory-channel-dispatcher-rhel8:0.26.0-1Fixed 2022-02-03RHSA-2022:0434
Openshift Serveless 1.20openshift-serverless-1/eventing-mtbroker-filter-rhel8:0.26.0-1Fixed 2022-02-03RHSA-2022:0434
Openshift Serveless 1.20openshift-serverless-1/eventing-mtbroker-ingress-rhel8:0.26.0-1Fixed 2022-02-03RHSA-2022:0434
Openshift Serveless 1.20openshift-serverless-1/eventing-mtchannel-broker-rhel8:0.26.0-1Fixed 2022-02-03RHSA-2022:0434
Openshift Serveless 1.20openshift-serverless-1/eventing-mtping-rhel8:0.26.0-1Fixed 2022-02-03RHSA-2022:0434
Openshift Serveless 1.20openshift-serverless-1/eventing-storage-version-migration-rhel8:0.26.0-1Fixed 2022-02-03RHSA-2022:0434
OpenShift Serverlessknative-eventingAffected
OpenShift Serverlessknative-servingAffected
OpenShift Service Mesh 2.0servicemeshAffected
OpenShift Service Mesh 2.0servicemesh-grafanaAffected
OpenShift Service Mesh 2.0servicemesh-operatorAffected
OpenShift Service Mesh 2.0servicemesh-prometheusAffected
Red Hat Ceph Storage 2golangOut of support scope
Red Hat Ceph Storage 2grafanaOut of support scope
Red Hat Ceph Storage 3golangOut of support scope
Red Hat Ceph Storage 3golang-github-prometheus-node_exporterOut of support scope
132 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-39293.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-22-167-09Siemens SCALANCE LPE9403 Third-Party Vulnerabilities2022-06-14MultipleSCALANCE LPE9403none 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-770 (20).

References

Check your stackJSON