cve.bz

CVE-2021-4217 NULL Pointer Dereference

3.3 lowExploit referenceEPSS 0.6%Fix available

Low (3.3). EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

3.3 low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 51st percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-4217 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-4217?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-4217?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-4217 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
unzip_project:unzip6.0
fedoraproject:fedora35
redhat:enterprise_linux6.0
redhat:enterprise_linux7.0
redhat:enterprise_linux8.0
redhat:enterprise_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14unzipno fix listedDEBIAN-CVE-2021-4217
Ubuntu18.04:LTSunzip6.0-21ubuntu1.2UBUNTU-CVE-2021-4217 USN-5673-1
Ubuntu20.04:LTSunzip6.0-25ubuntu1.1UBUNTU-CVE-2021-4217 USN-5673-1
Ubuntu22.04:LTSunzip6.0-26ubuntu3.1UBUNTU-CVE-2021-4217 USN-5673-1
Ubuntu24.04:LTSunzip6.0-28ubuntu4.1UBUNTU-CVE-2021-4217 USN-7054-1
UbuntuPro:14.04:LTSunzip6.0-9ubuntu1.6+esm1UBUNTU-CVE-2021-4217 USN-5673-1
UbuntuPro:16.04:LTSunzip6.0-20ubuntu1.1+esm1UBUNTU-CVE-2021-4217 USN-5673-1
Alpinev3.17, v3.18, v3.19 and 5 moreunzip6.0-r11ALPINE-CVE-2021-4217
Azure Linux2unzip6.0-22AZL-10680
Azure Linux3unzip6.0-22AZL-35342

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6unzipOut of support scope
Red Hat Enterprise Linux 7unzipOut of support scope
Red Hat Enterprise Linux 8unzipFix deferred
Red Hat Enterprise Linux 9unzipFix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-rhel9Under investigation

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-4217.

References

Check your stackJSON