CVE-2021-39293
HIGH7.5EPSS 0.04%Panic due to crafted inputs in archive/zip
Published: 5/18/2022Modified: 4/28/2026
Description
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.
Affected packages (3)
- Bitnami/golangfrom 0, < 1.16.8, >= 1.17.0, < 1.17.1
- Debian/golang-1.15from 0, < 1.15.15-1~deb11u1
- Go/stdlibfrom 0, < 1.16.8, >= 1.17.0-0, < 1.17.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (9)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-39293
- PATCHhttps://go.dev/cl/343434
- PATCHhttps://go.googlesource.com/go/+/bacbc33439b124ffd7392c91a5f5d96eca8c0c0b
- REPORThttps://go.dev/issue/47801
- WEBhttps://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf
- WEBhttps://groups.google.com/g/golang-announce/c/dx9d7IOseHw
- WEBhttps://lists.debian.org/debian-lts-announce/2023/04/msg00021.html
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2021-39293
- WEBhttps://security.netapp.com/advisory/ntap-20220217-0009/