CVE-2021-41772 Denial of service in n/a

High 7.5 Published Updated

A crafted ZIP archive causes a panic in the Go archive/zip Reader.Open function, leading to a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-41772?

CVE-2021-41772 is a high-severity denial of service vulnerability in Fedoraproject Fedora, published on 8 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-20

Which versions are affected by CVE-2021-41772?

2 open source packages ship an affected version, including golang and stdlib. It affects 3 products.

PackageAffectedFixed in
golang BitnamiAll versions1.16.10, 1.17.3
stdlib GoAll versions1.16.10, 1.17.3

Products include Fedoraproject Fedora, Golang Go, Oracle Timesten In-Memory Database.

How do I fix CVE-2021-41772?

Upgrade golang to a fixed version for your release line: 1.16.10 or 1.17.3.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-41772 being exploited?

There is no known exploitation of CVE-2021-41772 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-6452, BIT-golang-2021-41772, GHSA-8rv2-6fw3-rxjg, GO-2021-0264, UBUNTU-CVE-2021-41772.

Is CVE-2021-41772 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free