CVE-2021-41772
Go vulnerability analysis and mitigation

Overview

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. The vulnerability was discovered and disclosed in November 2021 (Golang Announce).

Technical details

The vulnerability exists in the archive/zip package's Reader.Open functionality, which implements the io/fs.FS API introduced in Go 1.16. The issue can be triggered when processing ZIP archives containing completely invalid names or when an empty filename argument is provided. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 HIGH with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When successfully exploited, this vulnerability can lead to a Denial of Service (DoS) condition through application panic. The vulnerability affects the availability of applications using the vulnerable Go versions but does not impact confidentiality or integrity (NetApp Advisory).

Exploitability

The vulnerability can be exploited by providing a specially crafted ZIP archive containing invalid names or an empty filename field. The attack requires no special privileges or user interaction, making it relatively straightforward to exploit (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Go versions 1.16.10 and 1.17.3. Users should upgrade to these or later versions to address the issue. The fix was contributed by Colin Arnott from SiteHost and Noah Santschi-Cooney from Sourcegraph Code Intelligence Team (Golang Announce).

Additional resources


SourceThis report was generated using AI

Related Go vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-54365HIGH8.7
  • Go logoGo
  • traefik
NoYesJun 23, 2026
CVE-2026-39822HIGH7.8
  • Go logoGo
  • access-log-exporter
NoYesJul 08, 2026
CVE-2026-42504HIGH7.5
  • Go logoGo
  • messaging-topology-operator-1.14
NoYesJun 02, 2026
CVE-2026-42505MEDIUM5.3
  • Go logoGo
  • eck-operator-2
NoYesJul 08, 2026
CVE-2026-42507MEDIUM5.3
  • Go logoGo
  • manifest-tool
NoYesJun 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management