{"id":"UBUNTU-CVE-2021-4217","details":"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.","modified":"2026-02-04T04:03:05.222751Z","published":"2022-08-24T16:15:00Z","related":["USN-5673-1","USN-7054-1"],"upstream":["CVE-2021-4217"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-4217"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5673-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-4217"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7054-1"}],"affected":[{"package":{"name":"unzip","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/unzip@6.0-9ubuntu1.6+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0-9ubuntu1.6+esm1"}]}],"versions":["6.0-9ubuntu1","6.0-9ubuntu1.1","6.0-9ubuntu1.2","6.0-9ubuntu1.3","6.0-9ubuntu1.4","6.0-9ubuntu1.5","6.0-9ubuntu1.6"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"unzip","binary_version":"6.0-9ubuntu1.6+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4217.json"}},{"package":{"name":"unzip","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/unzip@6.0-20ubuntu1.1+esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0-20ubuntu1.1+esm1"}]}],"versions":["6.0-17ubuntu1","6.0-19ubuntu1","6.0-19ubuntu2","6.0-20ubuntu1","6.0-20ubuntu1.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"unzip","binary_version":"6.0-20ubuntu1.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4217.json"}},{"package":{"name":"unzip","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/unzip@6.0-21ubuntu1.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0-21ubuntu1.2"}]}],"versions":["6.0-21ubuntu1","6.0-21ubuntu1.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"unzip","binary_version":"6.0-21ubuntu1.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4217.json"}},{"package":{"name":"unzip","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/unzip@6.0-25ubuntu1.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0-25ubuntu1.1"}]}],"versions":["6.0-25ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"unzip","binary_version":"6.0-25ubuntu1.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4217.json"}},{"package":{"name":"unzip","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/unzip@6.0-26ubuntu3.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0-26ubuntu3.1"}]}],"versions":["6.0-26ubuntu1","6.0-26ubuntu2","6.0-26ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_name":"unzip","binary_version":"6.0-26ubuntu3.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4217.json"}},{"package":{"name":"unzip","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/unzip@6.0-28ubuntu4.1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0-28ubuntu4.1"}]}],"versions":["6.0-28ubuntu1","6.0-28ubuntu2","6.0-28ubuntu3","6.0-28ubuntu4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"unzip","binary_version":"6.0-28ubuntu4.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4217.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"low"}]}