cve.bz

CVE-2021-33196 Improper Input Validation

7.5 highExploit referenceEPSS 3.5%Fix available

High (7.5). EPSS 3.5% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.15.13, 1.16.5.

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

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.5% (unchanged from 3.5% a week ago; 3.5% 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-33196 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-33196?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-33196?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-33196 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.15.13
golang:gofrom 1.16.0 before 1.16.5
debian:debian_linux9.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2021-0240Gostdlib<1.15.13
>=1.16.0-0 <1.16.5
1.15.13, 1.16.5

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.9-4DEBIAN-CVE-2021-33196
Ubuntu18.04:LTSgolang-1.8no fix listedUBUNTU-CVE-2021-33196
UbuntuPro:18.04:LTS, Pro:20.04:LTSgolang-1.16no fix listedUBUNTU-CVE-2021-33196
Red Hatdevtools:2021go-toolset-1.15, go-toolset-1.15-build, go-toolset-1.15-golang and 8 more0:1.15.13-1.el7_9RHSA-2021:2634
Red Hatenterprise_linux:8::appstreamdelve, delve-debuginfo, delve-debugsource0:1.5.0-2.module+el8.4.0+8864+58b0fcdbRHSA-2021:3076
Red Hatenterprise_linux:8::appstreamgolang, go-toolset, golang-bin and 5 more0:1.15.14-1.module+el8.4.0+11833+614b07b8RHSA-2021:3076
Red Hatopenshift:4.8::el7cri-o, cri-o-debuginfo0:1.21.2-8.rhaos4.8.git8d4264e.el7RHSA-2021:2984
Red Hatopenshift:4.8::el7openshift, openshift-hyperkube0:4.8.0-202107300027.p0.git.38b3ecc.assembly.stream.el7RHSA-2021:2984
Red Hatopenshift:4.8::el7openshift-clients, openshift-clients-redistributable0:4.8.0-202107292313.p0.git.1077b05.assembly.stream.el7RHSA-2021:2984
Red Hatopenshift:4.8::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.21.2-8.rhaos4.8.git8d4264e.el8RHSA-2021:2984
Red Hatopenshift:4.8::el8ignition, ignition-validate, ignition-debuginfo and 2 more0:2.9.0-7.rhaos4.8.el8RHSA-2021:2984
Red Hatopenshift:4.8::el8openshift, openshift-hyperkube0:4.8.0-202107300027.p0.git.38b3ecc.assembly.stream.el8RHSA-2021:2984
Red Hatopenshift:4.8::el8openshift-clients, openshift-clients-redistributable0:4.8.0-202107292313.p0.git.1077b05.assembly.stream.el8RHSA-2021:2984
Red Hatopenshift:4.9::el7openshift, openshift-hyperkube0:4.9.0-202110080828.p0.git.894a78b.assembly.stream.el7RHSA-2021:3758
Red Hatopenshift:4.9::el8coreos-installer, coreos-installer-bootinfra, coreos-installer-debuginfo and 2 more0:0.10.0-2.rhaos4.9.el8RHSA-2021:3758
5 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 8 morego1.151.15.13-1.33.1SUSE-SU-2021:2214-1
SUSELinux Enterprise Module for Development Tools 15 SP2, Linux Enterprise Module for Development Tools 15 SP3go1.161.16.5-1.17.1SUSE-SU-2021:2186-1
openSUSELeap 15.2go1.151.15.13-lp152.20.1openSUSE-SU-2021:0950-1
openSUSELeap 15.3go1.151.15.13-1.33.1openSUSE-SU-2021:2214-1
openSUSELeap 15.3go1.161.16.5-1.17.1openSUSE-SU-2021:2186-1
openSUSETumbleweedgo1.151.15.15-1.2openSUSE-SU-2024:10808-1
openSUSETumbleweedgo1.161.16.8-1.1openSUSE-SU-2024:10809-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.5.0-2.module+el8.4.0+396+d2d16ae3RLSA-2021:3076
Rocky Linux8golang, go-toolset0:1.15.14-1.module+el8.4.0+632+4dba2916RLSA-2021:3076
Alpinev3.13go1.15.13-r0ALPINE-CVE-2021-33196
Alpinev3.14, v3.15, v3.16 and 8 morego1.16.5-r0ALPINE-CVE-2021-33196
Azure Linux3golangno fix listedAZL-79084 AZL-98919

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; Microsoft's Azure Linux vulnerability data, MIT. 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 and OpenShift Service Mesh, 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 Plaform and OpenShift Service Mesh.

* Although OpenShift distributed tracing (formerly OpenShift Jaeger) components are compiled with a vulnerable version of Go, the vulnerable archive/zip package is currently not used by this product therefore these components are affected but with impact Low. Additionally only core OpenShift distributed tracing components have been listed.

* Although Serverless does ship the affected package, it does not make use of the actual package and hence the impact is low.

* 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.16openshift-serverless-1/client-kn-rhel8:0.22.0-4Fixed 2021-07-13RHSA-2021:2705
Openshift Serveless 1.16openshift-serverless-1/eventing-apiserver-receive-adapter-rhel8:0.22.0-2Fixed 2021-07-13RHSA-2021:2705
Openshift Serveless 1.16openshift-serverless-1/eventing-controller-rhel8:0.22.0-2Fixed 2021-07-13RHSA-2021:2705
Openshift Serveless 1.16openshift-serverless-1/eventing-in-memory-channel-controller-rhel8:0.22.0-2Fixed 2021-07-13RHSA-2021:2705
Openshift Serveless 1.16openshift-serverless-1/eventing-in-memory-channel-dispatcher-rhel8:0.22.0-2Fixed 2021-07-13RHSA-2021:2705
Openshift Serveless 1.16openshift-serverless-1/eventing-mtbroker-filter-rhel8:0.22.0-2Fixed 2021-07-13RHSA-2021:2705
Openshift Serveless 1.16openshift-serverless-1/eventing-mtbroker-ingress-rhel8:0.22.0-2Fixed 2021-07-13RHSA-2021:2705
Openshift Serveless 1.16openshift-serverless-1/eventing-mtchannel-broker-rhel8:0.22.0-2Fixed 2021-07-13RHSA-2021:2705
Openshift Serveless 1.16openshift-serverless-1/eventing-mtping-rhel8:0.22.0-2Fixed 2021-07-13RHSA-2021:2705
Openshift Serveless 1.16openshift-serverless-1/eventing-storage-version-migration-rhel8:0.22.0-2Fixed 2021-07-13RHSA-2021:2705
OpenShift Serverlessknative-eventingAffected
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 Advanced Cluster Security 3roxAffected
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
131 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-33196.

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