{"id":"USN-5227-1","summary":"pillow vulnerabilities","details":"It was discovered that Pillow incorrectly handled certain image files. If a\nuser or automated system were tricked into opening a specially-crafted\nfile, a remote attacker could cause Pillow to hang, resulting in a denial\nof service. (CVE-2021-23437)\n\nIt was discovered that Pillow incorrectly handled certain image files. If a\nuser or automated system were tricked into opening a specially-crafted\nfile, a remote attacker could cause Pillow to crash, resulting in a denial\nof service. This issue ony affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and\nUbuntu 21.04. (CVE-2021-34552)\n\nIt was discovered that Pillow incorrectly handled certain image files. If a\nuser or automated system were tricked into opening a specially-crafted\nfile, a remote attacker could cause Pillow to crash, resulting in a denial\nof service, or possibly execute arbitrary code. (CVE-2022-22815)\n\nIt was discovered that Pillow incorrectly handled certain image files. If a\nuser or automated system were tricked into opening a specially-crafted\nfile, a remote attacker could cause Pillow to crash, resulting in a denial\nof service. (CVE-2022-22816)\n\nIt was discovered that Pillow incorrectly handled certain image files. If a\nuser or automated system were tricked into opening a specially-crafted\nfile, a remote attacker could cause Pillow to crash, resulting in a denial\nof service, or possibly execute arbitrary code. (CVE-2022-22817)\n","modified":"2026-02-10T04:42:25Z","published":"2022-01-13T13:26:09Z","related":["UBUNTU-CVE-2021-23437","UBUNTU-CVE-2021-34552","UBUNTU-CVE-2022-22815","UBUNTU-CVE-2022-22816","UBUNTU-CVE-2022-22817"],"upstream":["CVE-2021-23437","CVE-2021-34552","CVE-2022-22815","CVE-2022-22816","CVE-2022-22817","UBUNTU-CVE-2021-23437","UBUNTU-CVE-2021-34552","UBUNTU-CVE-2022-22815","UBUNTU-CVE-2022-22816","UBUNTU-CVE-2022-22817"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5227-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-23437"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-34552"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-22815"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-22816"},{"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.7?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-1ubuntu0.7"}]}],"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"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python-pil","binary_version":"5.1.0-1ubuntu0.7"},{"binary_name":"python-pil.imagetk","binary_version":"5.1.0-1ubuntu0.7"},{"binary_name":"python3-pil","binary_version":"5.1.0-1ubuntu0.7"},{"binary_name":"python3-pil.imagetk","binary_version":"5.1.0-1ubuntu0.7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5227-1.json","cves_map":{"ecosystem":"Ubuntu:18.04:LTS","cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}],"id":"CVE-2021-23437"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}],"id":"CVE-2021-34552"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-22815"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"},{"type":"Ubuntu","score":"low"}],"id":"CVE-2022-22816"}]}}},{"package":{"name":"pillow","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/pillow@7.0.0-4ubuntu0.5?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.0-4ubuntu0.5"}]}],"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"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python3-pil","binary_version":"7.0.0-4ubuntu0.5"},{"binary_name":"python3-pil.imagetk","binary_version":"7.0.0-4ubuntu0.5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5227-1.json","cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}],"id":"CVE-2021-23437"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}],"id":"CVE-2021-34552"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-22815"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"},{"type":"Ubuntu","score":"low"}],"id":"CVE-2022-22816"}]}}}],"schema_version":"1.7.3"}