Skip to content
Fencer Vulns
high 7.5

CVE-2021-33196 json

Panic when reading certain archives in archive/zip

published 2021-08-02 5 y ago modified 2026-09-08 2 mo ago also BIT-golang-2021-33196 , EUVD-2021-19909 , GO-2021-0240

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.5%
EPSS 3.5% chance of exploitation in 30 days, percentile 89%
public exploits
0
none known

Summary

In archive/zip in Go before 1.15.13 and 1.16.x before 1.16.5, a crafted file count (in an archive's header) can cause a NewReader or OpenReader panic.

Patch / fix

  • bitnami golang 1.15.13, 1.16.5
  • go stdlib 1.15.13, 1.16.5
  • golang go 1.15.13, 1.16.5
  • golang-1.15 Debian 11 1.15.9-4

debian advisories DEBIAN-CVE-2021-33196

  • delve RHEL 8 1.5.0-2.module+el8.4.0+8864+58b0fcdb
  • golang RHEL 8 1.15.14-1.module+el8.4.0+11833+614b07b8
  • go-toolset RHEL 8 1.15.14-1.module+el8.4.0+11833+614b07b8
  • golang-bin RHEL 8 1.15.14-1.module+el8.4.0+11833+614b07b8
  • golang-src RHEL 8 1.15.14-1.module+el8.4.0+11833+614b07b8
  • golang-misc RHEL 8 1.15.14-1.module+el8.4.0+11833+614b07b8
  • golang-race RHEL 8 1.15.14-1.module+el8.4.0+11833+614b07b8
  • golang-tests RHEL 8 1.15.14-1.module+el8.4.0+11833+614b07b8

red hat advisories RHSA-2021:3076RHSA-2021:3555RHSA-2021:2984RHSA-2021:3758RHSA-2021:2704RHSA-2021:2634

  • go1.15 SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLES 15 SP1-BCL +8 more 1.15.13-1.33.1
  • go1.16 SLE Module for Development Tools 15 SP3, SLE Module for Development Tools 15 SP2 1.16.5-1.17.1

suse advisories SUSE-SU-2021:2214-1SUSE-SU-2021:2186-1

  • go1.15 openSUSE Tumbleweed 1.15.15-1.2
  • go1.16 openSUSE Tumbleweed 1.16.8-1.1
  • go1.15 openSUSE Leap 15.2 1.15.13-lp152.20.1
  • go1.15 openSUSE Leap 15.3 1.15.13-1.33.1
  • go1.16 openSUSE Leap 15.3 1.16.5-1.17.1

opensuse advisories openSUSE-SU-2024:10808-1openSUSE-SU-2024:10809-1openSUSE-SU-2021:0950-1openSUSE-SU-2021:2214-1openSUSE-SU-2021:2186-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.5.0-2.module+el8.4.0+396+d2d16ae3
  • golang Rocky Linux 8 1.15.14-1.module+el8.4.0+632+4dba2916
  • go-toolset Rocky Linux 8 1.15.14-1.module+el8.4.0+632+4dba2916

rocky linux advisories RLSA-2021:3076

  • go Alpine 3.13 1.15.13-r0
  • go Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 1.16.5-r0

alpine advisories ALPINE-CVE-2021-33196

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.16.5-1

arch linux advisories AVG-2006

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-33196 updated cvss 7.5

golang: archive/zip: malformed archive may cause panic or memory exhaustion

  • Red Hat OpenShift Serverless 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-operator, +4 more Red Hat Advanced Cluster Security 3 rox
    affected: 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
    affected: no fix planned “Out of support scope”
  • Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux 7 golang, buildah, golang-bin, golang-src, golang-misc, golang-tests
    affected: no fix planned “Out of support scope”
  • 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
    affected: no fix available “Fix deferred”
  • 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-rhel8
    affected: no fix planned “Will not fix”
  • Red Hat Developer Tools for Red Hat Enterprise Linux Server (v. 7) go-toolset-1.15 1.15.13-1.el7_9, go-toolset-1.15-build 1.15.13-1.el7_9, go-toolset-1.15-golang 1.15.13-1.el7_9, go-toolset-1.15-runtime 1.15.13-1.el7_9, go-toolset-1.15-scldevel 1.15.13-1.el7_9, go-toolset-1.15-golang-bin 1.15.13-1.el7_9, +4 more Red Hat Developer Tools for Red Hat Enterprise Linux Workstation (v. 7) go-toolset-1.15 1.15.13-1.el7_9, go-toolset-1.15-build 1.15.13-1.el7_9, go-toolset-1.15-golang 1.15.13-1.el7_9, go-toolset-1.15-runtime 1.15.13-1.el7_9, go-toolset-1.15-scldevel 1.15.13-1.el7_9, go-toolset-1.15-golang-bin 1.15.13-1.el7_9, +4 more
    fixed: vendor fix RHSA-2021:2634
  • Red Hat Enterprise Linux AppStream (v. 8) delve 1.5.0-2.module+el8.4.0+8864+58b0fcdb, golang 1.15.14-1.module+el8.4.0+11833+614b07b8, go-toolset 1.15.14-1.module+el8.4.0+11833+614b07b8, golang-bin 1.15.14-1.module+el8.4.0+11833+614b07b8, golang-src 1.15.14-1.module+el8.4.0+11833+614b07b8, golang-misc 1.15.14-1.module+el8.4.0+11833+614b07b8, +2 more
    fixed: vendor fix RHSA-2021:3076
show 8 more
  • Red Hat Migration Toolkit 1.5 rhmtc/openshift-migration-velero-rhel8 v1.5.1-4
    fixed: vendor fix RHSA-2021:3361
  • Red Hat OpenShift Container Platform 4.8 cri-o 1.21.2-8.rhaos4.8.git8d4264e.el7, cri-o 1.21.2-8.rhaos4.8.git8d4264e.el8, openshift-clients 4.8.0-202107292313.p0.git.1077b05.assembly.stream.el7, openshift-clients 4.8.0-202107292313.p0.git.1077b05.assembly.stream.el8, openshift4/ose-console v4.8.0-202107301422.p0.git.5045bcb.assembly.stream, openshift4/ose-grafana v4.8.0-202107291502.p0.git.b987e4b.assembly.stream, +3 more
    fixed: vendor fix RHSA-2021:2984
  • Red Hat OpenShift Container Platform 4.9 openshift 4.9.0-202110080828.p0.git.894a78b.assembly.stream.el7, openshift 4.9.0-202110080828.p0.git.894a78b.assembly.stream.el8, openshift-hyperkube 4.9.0-202110080828.p0.git.894a78b.assembly.stream.el7, openshift-hyperkube 4.9.0-202110080828.p0.git.894a78b.assembly.stream.el8
    fixed: vendor fix RHSA-2021:3758
  • Red Hat OpenShift Jaeger 1.20 distributed-tracing/jaeger-agent-rhel8 1.20.5-6, distributed-tracing/jaeger-query-rhel8 1.20.5-3, distributed-tracing/jaeger-ingester-rhel8 1.20.5-6, distributed-tracing/jaeger-rhel8-operator 1.20.5-5, distributed-tracing/jaeger-collector-rhel8 1.20.5-5, distributed-tracing/jaeger-all-in-one-rhel8 1.20.5-3
    fixed: vendor fix RHSA-2021:3229
  • Red Hat OpenShift Serverless 1.0 openshift-serverless-clients 0.22.0-3.el8, openshift-serverless-clients 0.23.2-1.el8
    fixed: vendor fix RHSA-2021:2704
  • Red Hat OpenShift Serverless 1.16 openshift-serverless-1/client-kn-rhel8 0.22.0-4, openshift-serverless-1/serving-queue-rhel8 0.22.0-4, openshift-serverless-1/eventing-mtping-rhel8 0.22.0-2, openshift-serverless-1/kourier-control-rhel8 0.22.0-2, openshift-serverless-1/serving-webhook-rhel8 0.22.0-3, openshift-serverless-1/eventing-webhook-rhel8 0.22.0-2, +24 more
    fixed: vendor fix RHSA-2021:2705
  • Red Hat OpenShift Serverless 1.17 openshift-serverless-1/client-kn-rhel8 0.23.2-2, openshift-serverless-1/serving-queue-rhel8 0.23.1-2, openshift-serverless-1/eventing-mtping-rhel8 0.23.0-5, openshift-serverless-1/kourier-control-rhel8 0.23.0-4, openshift-serverless-1/serving-webhook-rhel8 0.23.1-2, openshift-serverless-1/eventing-webhook-rhel8 0.23.0-5, +24 more
    fixed: vendor fix RHSA-2021:3556
  • 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.5 rhmtc/openshift-migration-ui-rhel8 v1.5.1-4, rhmtc/openshift-velero-plugin-rhel8 v1.5.1-4, rhmtc/openshift-migration-registry-rhel8 v1.5.1-4, rhmtc/openshift-migration-controller-rhel8 v1.5.1-4, rhmtc/openshift-migration-log-reader-rhel8 v1.5.1-3, rhmtc/openshift-migration-operator-bundle v1.5.1-22, +7 more Red Hat OpenShift Container Platform 4.8 ignition 2.9.0-7.rhaos4.8.el8, ignition-validate 2.9.0-7.rhaos4.8.el8, openshift 4.8.0-202107300027.p0.git.38b3ecc.assembly.stream.el7, openshift 4.8.0-202107300027.p0.git.38b3ecc.assembly.stream.el8, openshift-kuryr 4.8.0-202107291413.p0.git.8a4c2d8.assembly.stream.el8, openshift4/ose-cli v4.8.0-202107292232.p0.git.1077b05.assembly.stream, +141 more Red Hat OpenShift Container Platform 4.9 haproxy 2.2.15-1.el8, cri-tools 1.22.0-1.el8, cri-tools 1.22.0-2.el7, python-cmd2 1.4.0-1.1.el8, ovn21.09 21.09.0-20.el8fdp, pycdlib-tools 1.11.0-3.el8, +100 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
    +5 more products
    Red Hat OpenShift Jaeger 1.20 distributed-tracing/jaeger-es-rollover-rhel8 1.20.5-4, distributed-tracing/jaeger-es-index-cleaner-rhel8 1.20.5-8 Red Hat OpenShift Virtualization 2 kubevirt, virt-api-container, kubemacpool-container, virt-handler-container, bridge-marker-container, virt-launcher-container, +27 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 Storage 3 etcd, heketi, heketi-client, python-heketi, rhgs3/rhgs-gluster-block-prov-rhel7
    not affected: vulnerable code not present

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

Exploit prediction

3.46% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • groups.google.com https://groups.google.com/g/golang-announce/c/RgCMkAEQjSI referenced PoC, tagged "exploit" by a source, unverified

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.15.13
>=1.16.0, <1.16.5
1.15.13
1.16.5
go stdlib
<1.15.13
>=1.16.0-0, <1.16.5
1.15.13
1.16.5

Classification

Weakness
  • CWE-20 Improper Input Validation

References

Sources

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.