CVE-2021-33196
published 2021-08-02CVE-2021-33196: 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.
PriorityP339high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
3.46%
87.6th percentile
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.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | golang-1.15 | < golang-1.15 1.15.9-4 (bullseye) | golang-1.15 1.15.9-4 (bullseye) |
| debian | golang-1.15 | < golang-1.15 1.15.15-1~deb11u1 (bullseye) | golang-1.15 1.15.15-1~deb11u1 (bullseye) |
| golang | go | < 1.16.8 | 1.16.8 |
| golang | go | < 1.15.13 | 1.15.13 |
| golang | go | >= 1.16.0 < 1.16.5 | 1.16.5 |
| golang | go | >= 1.17.0 < 1.17.1 | 1.17.1 |
| msrc | azl3_golang_1.23.7-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_golang_1.23.9-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_golang_1.24.3-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_python-tensorboard_2.11.0-3_on_azure_linux_3.0 | — | — |
| msrc | azl3_python-tensorboard_2.16.2-2_on_azure_linux_3.0 | — | — |
| msrc | azure_linux_3.0_arm | — | — |
| msrc | azure_linux_3.0_x64 | — | — |
| redhat | openshift_serverless | < 1.17.0 | 1.17.0 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_msrc7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-x358-pmcq-q2x3: It was found that the CVE-2021-27918, CVE-2021-31525 and CVE-2021-33196 have been incorrectly mentioned as fixed in RHSA for Serverless 1
ghsa_unreviewed·2022-08-27·CVSS 7.5
CVE-2021-3703 [HIGH] GHSA-x358-pmcq-q2x3: It was found that the CVE-2021-27918, CVE-2021-31525 and CVE-2021-33196 have been incorrectly mentioned as fixed in RHSA for Serverless 1
It was found that the CVE-2021-27918, CVE-2021-31525 and CVE-2021-33196 have been incorrectly mentioned as fixed in RHSA for Serverless 1.16.0 and Serverless client kn 1.16.0. These have been fixed with Serverless 1.17.0.
GHSA
GHSA-6r28-26q2-vxwj: Go before 1
ghsa_unreviewed·2022-05-24
CVE-2021-33196 [HIGH] CWE-20 GHSA-6r28-26q2-vxwj: Go before 1
Go before 1.15.12 and 1.16.x before 1.16.5 attempts to allocate excessive memory (issue 1 of 2).
OSV
Panic due to crafted inputs in archive/zip
osv·2022-05-18·CVSS 7.5
CVE-2021-39293 [HIGH] Panic due to crafted inputs in archive/zip
Panic due to crafted inputs in archive/zip
The NewReader and OpenReader functions in archive/zip can cause a panic or an unrecoverable fatal error when reading an archive that claims to contain a large number of files, regardless of its actual size. This is caused by an incomplete fix for CVE-2021-33196.
OSV
Panic when reading certain archives in archive/zip
osv·2022-02-17
CVE-2021-33196 Panic when reading certain archives in archive/zip
Panic when reading certain archives in archive/zip
NewReader and OpenReader can cause a panic or an unrecoverable fatal error when reading an archive that claims to contain a large number of files, regardless of its actual size.
GHSA
GHSA-j532-8pqq-78jr: In archive/zip in Go before 1
ghsa_unreviewed·2022-01-25·CVSS 7.5
CVE-2021-39293 [HIGH] CWE-770 GHSA-j532-8pqq-78jr: In archive/zip in Go before 1
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.
OSV
CVE-2021-39293: In archive/zip in Go before 1
osv·2022-01-24·CVSS 7.5
CVE-2021-39293 [HIGH] CVE-2021-39293: In archive/zip in Go before 1
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.
OSV
CVE-2021-33196: In archive/zip in Go before 1
osv·2021-08-02·CVSS 7.5
CVE-2021-33196 [HIGH] CVE-2021-33196: In archive/zip in Go before 1
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.
CISA ICS
Siemens SCALANCE LPE9403 Third-Party Vulnerabilities
cisa_ics·2022-06-16·CVSS 9.8
[CRITICAL] Siemens SCALANCE LPE9403 Third-Party Vulnerabilities
## Archived Content In an effort to keep CISA.gov current, the archive contains outdated information that may not reflect current policy or programs.
ICS Advisory
##
Siemens SCALANCE LPE9403 Third-Party Vulnerabilities
Last RevisedJune 16, 2022
Alert CodeICSA-22-167-09
## 1. EXECUTIVE SUMMARY
- CVSS v3 9.8
- ATTENTION: Exploitable remotely, low attack complexity
- Vendor: Siemens
- Equipment: SCALANCE LPE9403
- Vulnerabilities: Multiple
## 2. RISK EVALUATION
Successful exploitation of these vulnerabilities could cause crashes and unrestricted file access, impacting the product’s confidentiality, integrity, and availability.
## 3. TECHNICAL DETAILS
## 3.1 AFFECTED PRODUCTS
The following versions of SCALANCE LPE9403 (Local Processing
Red Hat
serverless: incomplete fix for CVE-2021-27918 / CVE-2021-31525 / CVE-2021-33196
vendor_redhat·2021-09-13·CVSS 7.5
CVE-2021-3703 [HIGH] serverless: incomplete fix for CVE-2021-27918 / CVE-2021-31525 / CVE-2021-33196
serverless: incomplete fix for CVE-2021-27918 / CVE-2021-31525 / CVE-2021-33196
It was found that the CVE-2021-27918, CVE-2021-31525 and CVE-2021-33196 have been incorrectly mentioned as fixed in RHSA for Serverless 1.16.0 and Serverless client kn 1.16.0. These have been fixed with Serverless 1.17.0.
CVE-2021-27918, CVE-2021-31525 and CVE-2021-33196 have been incorrectly mentioned as fixed for Serverless 1.16.0 and Serverless client kn 1.16.0.
Statement: The flaw is moderate as the CVE-2021-27918, CVE-2021-31525 and CVE-2021-33196 are moderate. The score is assigned as per the highest score given in CVE-2021-27918 and CVE-2021-33196.
Package: knative-eventing (OpenShift Serverless) - Not affected
Package: knative-serving (OpenShift Serverless) - Not affected
Red Hat
golang: archive/zip: malformed archive may cause panic or memory exhaustion (incomplete fix of CVE-2021-33196)
vendor_redhat·2021-08-18·CVSS 7.5
CVE-2021-39293 [HIGH] CWE-400 golang: archive/zip: malformed archive may cause panic or memory exhaustion (incomplete fix of CVE-2021-33196)
golang: archive/zip: malformed archive may cause panic or memory exhaustion (incomplete fix of CVE-2021-33196)
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.
A vulnerability was found in archive/zip of the Go standard library. Applications written in Go can panic or potentially exhaust system memory when parsing malformed ZIP files. An attacker capable of submitting a crafted ZIP file to a Go application using archive/zip to process that file could cause a denial of service via memory exhaustion or panic. This particular flaw is an incomplete fix for a previous flaw.
Statement: * In Op
Red Hat
serverless: incomplete fix of CVE-2021-33196
vendor_redhat·2021-08-18·CVSS 7.5
CVE-2021-23156 [HIGH] CWE-477 serverless: incomplete fix of CVE-2021-33196
serverless: incomplete fix of CVE-2021-33196
[REJECTED CVE] A version of golang that is affected by CVE-2021-33196 was incorrectly shipped in the Red Hat Serverless 1.16.0 release.
Statement: This flaw was found to be a duplicate of CVE-2021-3703. Please see https://access.redhat.com/security/cve/CVE-2021-3703 for information about affected products and security errata.
Package: golang (OpenShift Serverless) - Affected
Microsoft
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.
vendor_msrc·2021-08-10·CVSS 7.5
CVE-2021-33196 [HIGH] CWE-20 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.
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre: mit
Red Hat
golang: archive/zip: malformed archive may cause panic or memory exhaustion
vendor_redhat·2021-05-25·CVSS 7.5
CVE-2021-33196 [HIGH] CWE-400 golang: archive/zip: malformed archive may cause panic or memory exhaustion
golang: archive/zip: malformed archive may cause panic or memory exhaustion
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.
A vulnerability was found in archive/zip of the Go standard library. Applications written in Go can panic or potentially exhaust system memory when parsing malformed ZIP files.
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 OpenShi
Debian
CVE-2021-33196: golang-1.15 - In archive/zip in Go before 1.15.13 and 1.16.x before 1.16.5, a crafted file cou...
vendor_debian·2021·CVSS 7.5
CVE-2021-33196 [HIGH] CVE-2021-33196: golang-1.15 - In archive/zip in Go before 1.15.13 and 1.16.x before 1.16.5, a crafted file cou...
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.
Scope: local
bullseye: resolved (fixed in 1.15.9-4)
Debian
CVE-2021-39293: golang-1.15 - In archive/zip in Go before 1.16.8 and 1.17.x before 1.17.1, a crafted archive h...
vendor_debian·2021·CVSS 7.5
CVE-2021-39293 [HIGH] CVE-2021-39293: golang-1.15 - In archive/zip in Go before 1.16.8 and 1.17.x before 1.17.1, a crafted archive h...
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.
Scope: local
bullseye: resolved (fixed in 1.15.15-1~deb11u1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://groups.google.com/g/golang-announcehttps://groups.google.com/g/golang-announce/c/RgCMkAEQjSIhttps://lists.debian.org/debian-lts-announce/2022/01/msg00016.htmlhttps://lists.debian.org/debian-lts-announce/2022/01/msg00017.htmlhttps://lists.debian.org/debian-lts-announce/2023/04/msg00021.htmlhttps://security.gentoo.org/glsa/202208-02https://groups.google.com/g/golang-announcehttps://groups.google.com/g/golang-announce/c/RgCMkAEQjSIhttps://lists.debian.org/debian-lts-announce/2022/01/msg00016.htmlhttps://lists.debian.org/debian-lts-announce/2022/01/msg00017.htmlhttps://lists.debian.org/debian-lts-announce/2023/04/msg00021.htmlhttps://security.gentoo.org/glsa/202208-02
2021-08-02
Published