CVE-2021-39293 json
Panic due to crafted inputs in archive/zip
published 4y ago modified 24d ago also BIT-golang-2021-39293 , EUVD-2021-25654 , GO-2022-0273
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.9%
- EPSS 6.9% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami golang 1.16.8, 1.17.1
- go stdlib 1.16.8, 1.17.1
- golang go 1.16.8, 1.17.1
- golang-1.15 Debian 11 1.15.15-1~deb11u1
debian advisories DEBIAN-CVE-2021-39293
- 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:0432
- go1.17 SLE Module for Development Tools 15 SP3, SLE Module for Development Tools 15 SP2 1.17.1-1.3.1
- go1.16 SLE Module for Development Tools 15 SP3, SLE Module for Development Tools 15 SP2 1.16.8-1.26.1
suse advisories SUSE-RU-2021:3315-1SUSE-SU-2021:3292-1
- go1.16 openSUSE Tumbleweed 1.16.8-1.1
- go1.17 openSUSE Tumbleweed 1.17.1-1.1
- go1.16 openSUSE Leap 15.2 1.16.8-lp152.11.1
- go1.16 openSUSE Leap 15.3 1.16.8-1.26.1
opensuse advisories openSUSE-SU-2024:10809-1openSUSE-SU-2024:10810-1openSUSE-SU-2021:1342-1openSUSE-SU-2021:3292-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.8-r0
- go Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 1.17.1-r0
alpine advisories ALPINE-CVE-2021-39293
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- go Arch Linux 2:1.17.1-1
arch linux advisories AVG-2370
Is CVE-2021-39293 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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-39293 updated cvss 7.5
golang: archive/zip: malformed archive may cause panic or memory exhaustion (incomplete fix of CVE-2021-33196)
-
Red Hat OpenShift Serverless knative-serving knative-serving, knative-eventing knative-eventing Red Hat OpenShift Service Mesh 2.0 servicemesh, servicemesh-mixc, servicemesh-mixs, servicemesh-grafana, servicemesh-istioctl, servicemesh-operator, +4 moreaffected: 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-exporter Red Hat Enterprise Linux 7 golang, golang-bin, golang-src, golang-misc, golang-tests 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 moreaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 openshift, openshift-clients, openshift-kubelet, openshift-hyperkube, openshift4/ose-grafana, openshift-kube-apiserver, +3 moreaffected: 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-rhel8, smart-gateway-container Red Hat Service Telemetry Framework 1.3 for RHEL 8 stf/sg-core-rhel8affected: no fix planned “Will not fix”
-
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.6 rhmtc/openshift-migration-velero-rhel8 v1.6.5-3fixed: vendor fix RHSA-2022:4814
-
Red Hat OpenShift Container Platform 4.9 openshift4/ose-installer v4.9.0-202202212240.p0.g4391c01.assembly.streamfixed: vendor fix RHSA-2022:0655
show 4 moreshow fewer
-
Red Hat OpenShift Serverless 1.0 openshift-serverless-clients 0.26.0-2.el8fixed: vendor fix RHSA-2022:0432
-
Red Hat OpenShift Serverless 1.20 openshift-serverless-1/client-kn-rhel8 0.26.0-1, openshift-serverless-1/serving-queue-rhel8 0.26.0-1, openshift-serverless-1/eventing-mtping-rhel8 0.26.0-1, openshift-serverless-1/kourier-control-rhel8 0.26.0-1, openshift-serverless-1/serving-webhook-rhel8 0.26.0-1, openshift-serverless-1/eventing-webhook-rhel8 0.26.0-1, +28 morefixed: vendor fix RHSA-2022:0434
-
Red Hat RHACS 3.67 for RHEL 8 advanced-cluster-security/rhacs-rhel8-operator 3.67.0-3fixed: vendor fix RHSA-2021:4902
-
Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8 Red Hat Enterprise Linux 7 buildah Red Hat Enterprise Linux 8 buildah, buildah-tests Red Hat Enterprise Linux 9 golang, buildah, go-toolset, golang-bin, golang-src, golang-misc, +3 more Red Hat Migration Toolkit 1.6 rhmtc/openshift-migration-ui-rhel8 v1.6.5-8, rhmtc/openshift-velero-plugin-rhel8 v1.6.5-3, rhmtc/openshift-migration-registry-rhel8 v1.6.5-3, rhmtc/openshift-migration-rhel8-operator v1.6.5-4, rhmtc/openshift-migration-controller-rhel8 v1.6.5-5, rhmtc/openshift-migration-log-reader-rhel8 v1.6.5-3, +7 more Red Hat OpenShift Container Platform 4 openshift4/ose-consolenot affected: vulnerable code not present
+9 more productsfewer
Red Hat OpenShift Container Platform 4.9 openshift4/ose-cli v4.9.0-202202160527.p0.g5035cc3.assembly.stream, openshift4/ose-tests v4.9.0-202202160527.p0.g932d502.assembly.stream, openshift4/ose-console v4.9.0-202202230318.p0.g8d748bd.assembly.stream, openshift4/ose-jenkins v4.9.0-202202160527.p0.gaf84740.assembly.stream, openshift4/ose-deployer v4.9.0-202202160527.p0.g5035cc3.assembly.stream, openshift4/ose-must-gather v4.9.0-202202160527.p0.gb181f1f.assembly.stream, +14 more Red Hat Openshift Container Storage 4 mcg, ocs4/cephcsi-rhel8, ocs4/mcg-rhel8-operator, ocs4/ocs-rhel8-operator, ocs4/ocs-must-gather-rhel8, ocs4/rook-ceph-rhel8-operator Red Hat OpenShift Virtualization 2 kubevirt, virt-api-container, kubemacpool-container, virt-handler-container, bridge-marker-container, virt-launcher-container, +26 more Red Hat OpenShift Virtualization 4 kubevirt, container-native-virtualization/virt-api, container-native-virtualization/kubemacpool, container-native-virtualization/virt-handler, container-native-virtualization/bridge-marker, container-native-virtualization/virt-launcher, +25 more 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 RHACS 3.67 for RHEL 8 advanced-cluster-security/rhacs-operator-bundle 3.67.0-2
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-22-167-09 updated cvss 7.5
Siemens SCALANCE LPE9403 Third-Party Vulnerabilities
-
Siemens SCALANCE LPE9403 <V2.0affected: fixed in V2.0 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Exploit prediction
6.93% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).
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.8 >=1.17.0, <1.17.1 |
1.16.8 1.17.1 |
| go | stdlib | <1.16.8 >=1.17.0-0, <1.17.1 |
1.16.8 1.17.1 |
Classification
- Weakness
-
- CWE-770 Allocation of Resources Without Limits or Throttling
References
-
go.dev
/cl/343434
patch
-
go.googlesource.com
/go/+/bacbc33439b124ffd7392c91a5f5d96eca8c0c0b
patch
-
groups.google.com
/g/golang-announce/c/dx9d7IOseHw
issue-tracking, release-notes, third-party-advisory, advisory, web
-
security.netapp.com
/advisory/ntap-20220217-0009/
third-party-advisory, advisory
- cert-portal.siemens.com /productcert/pdf/ssa-222547.pdf
-
lists.debian.org
/debian-lts-announce/2023/04/msg00021.html
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2021-39293
web
-
go.dev
/issue/47801
report
Sources
- CVE List CVE-2021-39293
- NVD CVE-2021-39293
- OSV BIT-golang-2021-39293
- OSV GO-2022-0273
Fencer Intel 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.