
CVE catalog
CVE-2021-4217
unzip vulnerability
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.62% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | unzip | sid | 6.0-31 | vulnerable |
| Debian | unzip | forky | 6.0-31 | vulnerable |
| Debian | unzip | trixie | 6.0-29+deb13u1 | vulnerable |
| Debian | unzip | trixie-security | 6.0-29+deb13u1 | vulnerable |
| Debian | unzip | bookworm | 6.0-28 | vulnerable |
| Debian | unzip | bookworm-security | 6.0-28+deb12u1 | vulnerable |
| Ubuntu | unzip | noble | Not reported | vulnerable |
| Ubuntu | unzip | noble | 6.0-28ubuntu4.1 | fixed |
| Alpine | unzip | 3.17 | 6.0-r11 | fixed |
| Alpine | unzip | 3.18 | 6.0-r11 | fixed |
| Alpine | unzip | 3.19 | 6.0-r11 | fixed |
| Alpine | unzip | 3.20 | 6.0-r11 | fixed |
| Alpine | unzip | 3.21 | 6.0-r11 | fixed |
| Alpine | unzip | 3.22 | 6.0-r11 | fixed |
| Alpine | unzip | 3.23 | 6.0-r11 | fixed |
| Alpine | unzip | 3.24 | 6.0-r11 | fixed |
| Ubuntu | unzip | pro | 6.0-17ubuntu1 | vulnerable |
| Ubuntu | unzip | pro | 6.0-19ubuntu1 | vulnerable |
| Ubuntu | unzip | pro | 6.0-19ubuntu2 | vulnerable |
| Ubuntu | unzip | pro | 6.0-20ubuntu1 | vulnerable |
| Ubuntu | unzip | pro | 6.0-20ubuntu1.1 | vulnerable |
| Ubuntu | unzip | pro | 6.0-20ubuntu1.1+esm1 | fixed |
| Ubuntu | unzip | 18.04 | 6.0-21ubuntu1 | vulnerable |
| Ubuntu | unzip | 18.04 | 6.0-21ubuntu1.1 | vulnerable |
| Ubuntu | unzip | 18.04 | 6.0-21ubuntu1.2 | fixed |
| Ubuntu | unzip | 20.04 | 6.0-25ubuntu1 | vulnerable |
| Ubuntu | unzip | 20.04 | 6.0-25ubuntu1.1 | fixed |
| Ubuntu | unzip | 22.04 | 6.0-26ubuntu1 | vulnerable |
| Ubuntu | unzip | 22.04 | 6.0-26ubuntu2 | vulnerable |
| Ubuntu | unzip | 22.04 | 6.0-26ubuntu3 | vulnerable |
| Ubuntu | unzip | 22.04 | 6.0-26ubuntu3.1 | fixed |
| Ubuntu | unzip | 24.04 | 6.0-28ubuntu1 | vulnerable |
| Ubuntu | unzip | 24.04 | 6.0-28ubuntu2 | vulnerable |
| Ubuntu | unzip | 24.04 | 6.0-28ubuntu3 | vulnerable |
| Ubuntu | unzip | 24.04 | 6.0-28ubuntu4 | vulnerable |
| Ubuntu | unzip | 24.04 | 6.0-28ubuntu4.1 | fixed |
| Ubuntu | unzip | pro | 6.0-17ubuntu1 | vulnerable |
| Ubuntu | unzip | pro | 6.0-19ubuntu1 | vulnerable |
| Ubuntu | unzip | pro | 6.0-19ubuntu2 | vulnerable |
| Ubuntu | unzip | pro | 6.0-20ubuntu1 | vulnerable |
| Ubuntu | unzip | pro | 6.0-20ubuntu1.1 | vulnerable |
| Ubuntu | unzip | pro | 6.0-20ubuntu1.1+esm1 | fixed |
| Ubuntu | unzip | 18.04 | 6.0-21ubuntu1 | vulnerable |
| Ubuntu | unzip | 18.04 | 6.0-21ubuntu1.1 | vulnerable |
| Ubuntu | unzip | 18.04 | 6.0-21ubuntu1.2 | fixed |
| Ubuntu | unzip | 20.04 | 6.0-25ubuntu1 | vulnerable |
| Ubuntu | unzip | 20.04 | 6.0-25ubuntu1.1 | fixed |
| Ubuntu | unzip | 22.04 | 6.0-26ubuntu1 | vulnerable |
| Ubuntu | unzip | 22.04 | 6.0-26ubuntu2 | vulnerable |
| Ubuntu | unzip | 22.04 | 6.0-26ubuntu3 | vulnerable |
| Ubuntu | unzip | 22.04 | 6.0-26ubuntu3.1 | fixed |
| Ubuntu | unzip | 24.04 | 6.0-28ubuntu1 | vulnerable |
| Ubuntu | unzip | 24.04 | 6.0-28ubuntu2 | vulnerable |
| Ubuntu | unzip | 24.04 | 6.0-28ubuntu3 | vulnerable |
| Ubuntu | unzip | 24.04 | 6.0-28ubuntu4 | vulnerable |
| Ubuntu | unzip | 24.04 | 6.0-28ubuntu4.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | unzip | source | sid | (unfixed) | unimportant | Not reported | Not reported |
| Debian | unzip | source | forky | (unfixed) | unimportant | Not reported | Not reported |
| Debian | unzip | source | trixie | (unfixed) | unimportant | Not reported | Not reported |
| Debian | unzip | source | bookworm | (unfixed) | unimportant | Not reported | Not reported |
| Ubuntu | unzip | deb | noble | 6.0-28ubuntu4.1 | Not reported | Not reported | Not reported |
| Alpine | unzip | apk | 3.17 | 6.0-r11 | Not reported | ALPINE-CVE-2021-4217 | Not reported |
| Alpine | unzip | apk | 3.18 | 6.0-r11 | Not reported | ALPINE-CVE-2021-4217 | Not reported |
| Alpine | unzip | apk | 3.19 | 6.0-r11 | Not reported | ALPINE-CVE-2021-4217 | Not reported |
| Alpine | unzip | apk | 3.20 | 6.0-r11 | Not reported | ALPINE-CVE-2021-4217 | Not reported |
| Alpine | unzip | apk | 3.21 | 6.0-r11 | Not reported | ALPINE-CVE-2021-4217 | Not reported |
| Alpine | unzip | apk | 3.22 | 6.0-r11 | Not reported | ALPINE-CVE-2021-4217 | Not reported |
| Alpine | unzip | apk | 3.23 | 6.0-r11 | Not reported | ALPINE-CVE-2021-4217 | Not reported |
| Alpine | unzip | apk | 3.24 | 6.0-r11 | Not reported | ALPINE-CVE-2021-4217 | Not reported |
| Ubuntu | unzip | deb | pro | 6.0-20ubuntu1.1+esm1 | Not reported | USN-5673-1 | Not reported |
| Ubuntu | unzip | deb | 18.04 | 6.0-21ubuntu1.2 | Not reported | USN-5673-1 | Not reported |
| Ubuntu | unzip | deb | 20.04 | 6.0-25ubuntu1.1 | Not reported | USN-5673-1 | Not reported |
| Ubuntu | unzip | deb | 22.04 | 6.0-26ubuntu3.1 | Not reported | USN-5673-1 | Not reported |
| Ubuntu | unzip | deb | 24.04 | 6.0-28ubuntu4.1 | Not reported | USN-7054-1 | Not reported |
| Ubuntu | unzip | deb | pro | 6.0-20ubuntu1.1+esm1 | Not reported | UBUNTU-CVE-2021-4217 | Not reported |
| Ubuntu | unzip | deb | 18.04 | 6.0-21ubuntu1.2 | Not reported | UBUNTU-CVE-2021-4217 | Not reported |
| Ubuntu | unzip | deb | 20.04 | 6.0-25ubuntu1.1 | Not reported | UBUNTU-CVE-2021-4217 | Not reported |
| Ubuntu | unzip | deb | 22.04 | 6.0-26ubuntu3.1 | Not reported | UBUNTU-CVE-2021-4217 | Not reported |
| Ubuntu | unzip | deb | 24.04 | 6.0-28ubuntu4.1 | Not reported | UBUNTU-CVE-2021-4217 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [unzip]Unknown
Details (4)
6.0-28· amd64 · bookwormAffected
usn · unzip · debian · bookworm; usn · unzip · debian · 12
6.0-28· arm64 · bookwormAffected
usn · unzip · debian · bookworm; usn · unzip · debian · 12
6.0-28+deb12u1· amd64 · bookworm-securityAffected
usn · unzip · debian · bookworm; usn · unzip · debian · 12
6.0-28+deb12u1· arm64 · bookworm-securityAffected
usn · unzip · debian · bookworm; usn · unzip · debian · 12
[Debian 13 (Trixie)]
- [unzip]Unknown
Details (4)
6.0-29· amd64 · trixieAffected
usn · unzip · debian · 13
6.0-29· arm64 · trixieAffected
usn · unzip · debian · 13
6.0-29+deb13u1· amd64 · trixie-securityAffected
usn · unzip · debian · 13
6.0-29+deb13u1· arm64 · trixie-securityAffected
usn · unzip · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/ALPINE-CVE-2021-4217]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-4217]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-4217]
- [https://osv.dev/vulnerability/USN-5673-1]
- [https://osv.dev/vulnerability/USN-7054-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-4217]
- [https://ubuntu.com/security/notices/USN-7054-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-1335.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Ubuntu Security Notices (USN)]