CVE-2021-41772
HIGH 7.5CVSS 3.1Panic when opening certain archives in archive/zip
Go before 1.16.10 and 1.17.x before 1.17.3 allows an archive/zip Reader.Open panic via a crafted ZIP archive containing an invalid name or an empty filename field.
- Published
- 8 Nov 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- BIT-golang-2021-41772GO-2021-0264
- Sources
- NVDJSONOSV GO-2021-0264JSON
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.10 | 1.16.10 |
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
>= 1.17.0, < 1.17.3 | 1.17.3 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
= 34 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| NVD | oracle | timesten_in-memory_databasecpe:2.3:a:oracle:timesten_in-memory_database:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | Go | stdlib | < 1.16.10; >= 1.17.0-0, < 1.17.3 | 1.16.10, 1.17.3 |
References
- https://cert-portal.siemens.com/productcert/pdf/ssa-744259.pdf
- https://groups.google.com/g/golang-announce/c/0fM21h43arc · Vendor Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4OFS3M3OFB24SWPTIAPARKGPUMQVUY6Z/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ON7BQRRJZBOR5TJHURBAB3WLF4YXFC6Z/
- https://security.gentoo.org/glsa/202208-02 · Third Party Advisory
- https://security.netapp.com/advisory/ntap-20211210-0003/ · Third Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.html · Third Party Advisory
- https://go.dev/cl/349770 · FIX
- https://go.googlesource.com/go/+/b24687394b55a93449e2be4e6892ead58ea9a10f · FIX
- https://go.dev/issue/48085 · REPORT
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 8 Nov 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Jan 2022)