CVE-2021-41772

NameCVE-2021-41772
DescriptionGo 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-1.11 (PTS)buster, buster (security)1.11.6-1+deb10u4fixed
golang-1.15 (PTS)bullseye1.15.9-6fixed
bookworm, sid1.15.15-4fixed
golang-1.17 (PTS)bookworm1.17.3-1fixed
sid1.17.4-1fixed
golang-1.7 (PTS)stretch1.7.4-2+deb9u1fixed
stretch (security)1.7.4-2+deb9u3fixed
golang-1.8 (PTS)stretch1.8.1-1+deb9u1fixed
stretch (security)1.8.1-1+deb9u3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-1.11source(unstable)(not affected)
golang-1.15source(unstable)(not affected)
golang-1.16source(unstable)1.16.10-1
golang-1.17source(unstable)1.17.3-1
golang-1.7source(unstable)(not affected)
golang-1.8source(unstable)(not affected)

Notes

- golang-1.15 <not-affected> (Vulnerable code introduced later in go1.16beta1)
- golang-1.11 <not-affected> (Vulnerable code introduced later in go1.16beta1)
- golang-1.8 <not-affected> (Vulnerable code introduced later in go1.16beta1)
- golang-1.7 <not-affected> (Vulnerable code introduced later in go1.16beta1)
https://github.com/golang/go/issues/48085
https://groups.google.com/g/golang-announce/c/0fM21h43arc
Introduced in: https://github.com/golang/go/commit/1296ee6b4f9058be75c799513ccb488d2f2dd085 (go1.16beta1)
https://github.com/golang/go/commit/b212ba68296b503b395e7d1838ca72a19030a6bf (go1.17.3)
https://github.com/golang/go/commit/88407a8dd98411f1730907dc8a69b99488af0052 (go1.16.10)

Search for package or bug name: Reporting problems