CVE-2021-33196
HIGH 7.5CVSS 3.1Panic when reading certain archives in archive/zip
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.
- Published
- 2 Aug 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- BIT-golang-2021-33196GO-2021-0240
- Sources
- NVDJSONOSV GO-2021-0240JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
< 1.15.13 | 1.15.13 |
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
>= 1.16.0, < 1.16.5 | 1.16.5 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| OSV | Go | stdlib | < 1.15.13; >= 1.16.0-0, < 1.16.5 | 1.15.13, 1.16.5 |
References
- https://groups.google.com/g/golang-announce · Third Party Advisory
- https://groups.google.com/g/golang-announce/c/RgCMkAEQjSI · Exploit, Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/01/msg00016.html · Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/01/msg00017.html · Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html
- https://security.gentoo.org/glsa/202208-02 · Third Party Advisory
- https://go.dev/cl/318909 · FIX
- https://go.googlesource.com/go/+/74242baa4136c7a9132a8ccd9881354442788c8c · FIX
- https://go.dev/issue/46242 · REPORT
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 2 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Feb 2022)