CVE-2021-4217 Null dereference in unzip

Low 3.3 Published Updated

An attacker can cause a crash or execute code by providing a specially crafted zip file to the unzip utility due to improper Unicode string handling.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-4217?

CVE-2021-4217 is a low-severity vulnerability in Fedoraproject Fedora, published on 24 Aug 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A flaw was found in unzip. The vulnerability occurs due to improper handling of Unicode strings, which can lead to a null pointer dereference. This flaw allows an attacker to input a specially crafted zip file, leading to a crash or code execution.

Weakness: CWE-476

Which versions are affected by CVE-2021-4217?

It affects 3 products.

Products include Fedoraproject Fedora, Redhat Enterprise Linux, Unzip Project Unzip.

How do I fix CVE-2021-4217?

Apply the vendor's patch.

Is CVE-2021-4217 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALPINE-CVE-2021-4217, AZL-10680, AZL-35342, DEBIAN-CVE-2021-4217, ECHO-d2dd-c0a4-1d52, GHSA-9xxw-h585-3vfj and 4 more.

Is CVE-2021-4217 in your software?

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

Check your SBOMs for free