CVE-2021-39293
HIGH 7.5CVSS 3.1Panic due to crafted inputs in archive/zip
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.
- Published
- 24 Jan 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-770
- Also known as
- BIT-golang-2021-39293GO-2022-0273
- Sources
- NVDJSONOSV GO-2022-0273JSON
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.16.8 | 1.16.8 |
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
>= 1.17.0, < 1.17.1 | 1.17.1 |
| NVD | netapp | cloud_insights_telegrafcpe:2.3:a:netapp:cloud_insights_telegraf:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | Go | stdlib | < 1.16.8; >= 1.17.0-0, < 1.17.1 | 1.16.8, 1.17.1 |
References
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf
- https://groups.google.com/g/golang-announce/c/dx9d7IOseHw · Issue Tracking, Release Notes, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html
- https://security.netapp.com/advisory/ntap-20220217-0009/ · Third Party Advisory
- https://go.dev/cl/343434 · FIX
- https://go.googlesource.com/go/+/bacbc33439b124ffd7392c91a5f5d96eca8c0c0b · FIX
- https://go.dev/issue/47801 · REPORT
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 24 Jan 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 May 2022)