{"id":"USN-5227-3","summary":"pillow vulnerability","details":"USN-5227-1 fixed vulnerabilities in Pillow. It was discovered that the fix\nfor CVE-2022-22817 was incomplete. This update fixes the problem.\n\nOriginal advisory details:\n\n It was discovered that Pillow incorrectly handled certain image files. If a\n user or automated system were tricked into opening a specially-crafted\n file, a remote attacker could cause Pillow to hang, resulting in a denial\n of service. (CVE-2021-23437)\n \n It was discovered that Pillow incorrectly handled certain image files. If a\n user or automated system were tricked into opening a specially-crafted\n file, a remote attacker could cause Pillow to crash, resulting in a denial\n of service. This issue ony affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and\n Ubuntu 21.04. (CVE-2021-34552)\n \n It was discovered that Pillow incorrectly handled certain image files. If a\n user or automated system were tricked into opening a specially-crafted\n file, a remote attacker could cause Pillow to crash, resulting in a denial\n of service, or possibly execute arbitrary code. (CVE-2022-22815)\n \n It was discovered that Pillow incorrectly handled certain image files. If a\n user or automated system were tricked into opening a specially-crafted\n file, a remote attacker could cause Pillow to crash, resulting in a denial\n of service. (CVE-2022-22816)\n \n It was discovered that Pillow incorrectly handled certain image files. If a\n user or automated system were tricked into opening a specially-crafted\n file, a remote attacker could cause Pillow to crash, resulting in a denial\n of service, or possibly execute arbitrary code. (CVE-2022-22817)\n","modified":"2026-02-10T04:42:25Z","published":"2022-10-24T12:56:27Z","related":["UBUNTU-CVE-2022-22817"],"upstream":["CVE-2022-22817","UBUNTU-CVE-2022-22817"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5227-3"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-22817"}],"affected":[{"package":{"name":"pillow","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/pillow@5.1.0-1ubuntu0.8?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-1ubuntu0.8"}]}],"versions":["4.1.1-3build2","4.3.0-2ubuntu1","5.0.0-1","5.1.0-1","5.1.0-1ubuntu0.2","5.1.0-1ubuntu0.3","5.1.0-1ubuntu0.4","5.1.0-1ubuntu0.5","5.1.0-1ubuntu0.6","5.1.0-1ubuntu0.7"],"ecosystem_specific":{"binaries":[{"binary_version":"5.1.0-1ubuntu0.8","binary_name":"python-pil"},{"binary_version":"5.1.0-1ubuntu0.8","binary_name":"python-pil.imagetk"},{"binary_version":"5.1.0-1ubuntu0.8","binary_name":"python3-pil"},{"binary_version":"5.1.0-1ubuntu0.8","binary_name":"python3-pil.imagetk"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5227-3.json","cves_map":{"cves":[{"id":"CVE-2022-22817","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:18.04:LTS"}}},{"package":{"name":"pillow","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/pillow@7.0.0-4ubuntu0.6?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.0-4ubuntu0.6"}]}],"versions":["6.1.0-1","6.1.0-1build1","6.2.1-2","7.0.0-4","7.0.0-4build1","7.0.0-4ubuntu0.1","7.0.0-4ubuntu0.2","7.0.0-4ubuntu0.3","7.0.0-4ubuntu0.4","7.0.0-4ubuntu0.5"],"ecosystem_specific":{"binaries":[{"binary_version":"7.0.0-4ubuntu0.6","binary_name":"python3-pil"},{"binary_version":"7.0.0-4ubuntu0.6","binary_name":"python3-pil.imagetk"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5227-3.json","cves_map":{"cves":[{"id":"CVE-2022-22817","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:20.04:LTS"}}}],"schema_version":"1.7.3"}