CVEfocus › CVE database › CVE-2021-4217

CVE-2021-4217

CVSS 3.3 LowEPSS 0.6% (higher than 44% of CVEs)Published 2022-08-24Updated 2026-11-02Assigner: redhat

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.

CWE-476

What to do

Fixed builds are available from Alpine, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

12Fixed
4Fix pending
5Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04unzipFixed6.0-28ubuntu4.1UBUNTU-CVE-2021-4217
Ubuntu 22.04unzipFixed6.0-26ubuntu3.1UBUNTU-CVE-2021-4217
Ubuntu 20.04unzipFixed6.0-25ubuntu1.1UBUNTU-CVE-2021-4217
Ubuntu 18.04unzipFixed6.0-21ubuntu1.2UBUNTU-CVE-2021-4217
Ubuntu 16.04unzipFix pending6.0-20ubuntu1.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-4217
Ubuntu 14.04unzipFix pending6.0-9ubuntu1.6+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-4217
Debian 14unzipWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2021-4217
Debian 13unzipWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2021-4217
Debian 12unzipWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2021-4217
Red Hat Enterprise Linux 9unzipFix pending
Fix deferred
Red Hat Enterprise Linux 8unzipFix pending
Fix deferred
Red Hat Enterprise Linux 7unzipWill not fix
Out of support scope
Red Hat Enterprise Linux 6unzipWill not fix
Out of support scope
Alpine Linux 3.24unzipFixed6.0-r11ALPINE-CVE-2021-4217
Alpine Linux 3.23unzipFixed6.0-r11ALPINE-CVE-2021-4217
Alpine Linux 3.22unzipFixed6.0-r11ALPINE-CVE-2021-4217
Alpine Linux 3.21unzipFixed6.0-r11ALPINE-CVE-2021-4217
Alpine Linux 3.20unzipFixed6.0-r11ALPINE-CVE-2021-4217
Alpine Linux 3.19unzipFixed6.0-r11ALPINE-CVE-2021-4217
Alpine Linux 3.18unzipFixed6.0-r11ALPINE-CVE-2021-4217
Alpine Linux 3.17unzipFixed6.0-r11ALPINE-CVE-2021-4217

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.