# CVE-2021-39293: Panic due to crafted inputs in archive/zip

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 7.45%, higher than 94% of CVEs (2026-12-01)
- Published: 2022-01-24T00:00:00.000Z
- Modified: 2026-10-16T09:45:16.350Z
- Also known as: GO-2022-0273, BIT-GOLANG-2021-39293
- Weaknesses: CWE-770
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- stdlib (Go): before 1.16.8; from 1.17.0-0 before 1.17.1
- golang go: before 1.16.8; from 1.17.0 before 1.17.1
- netapp cloud_insights_telegraf: no versions given
- golang (Bitnami): before 1.16.8; from 1.17.0 before 1.17.1

## Every score

- NVD: 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`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://groups.google.com/g/golang-announce/c/dx9d7IOseHw> (advisory, issue-tracking, release-notes, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20220217-0009/> (advisory, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf>
- <https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html> (mailing-list, web)
- <https://go.dev/cl/343434> (fix)
- <https://go.googlesource.com/go/+/bacbc33439b124ffd7392c91a5f5d96eca8c0c0b> (fix)
- <https://go.dev/issue/47801> (report)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39293> (web)

## Sources

- CVE List: [CVE-2021-39293](https://www.cve.org/CVERecord?id=CVE-2021-39293), CVE Terms of Use, modified 2024-08-04
- Go Vulnerability Database: [GO-2022-0273](https://pkg.go.dev/vuln/GO-2022-0273), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2021-39293](https://nvd.nist.gov/vuln/detail/CVE-2021-39293), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GOLANG-2021-39293](https://osv.dev/vulnerability/BIT-GOLANG-2021-39293), Apache-2.0, modified 2026-10-16

---

Page: https://cve.day/CVE-2021-39293 · Whole record: https://cve.day/CVE-2021-39293.json · Rebuilt by cve.day 2026-11-25T22:58:06.624Z
