usn-5227-3
Vulnerability from osv_ubuntu
USN-5227-1 fixed vulnerabilities in Pillow. It was discovered that the fix for CVE-2022-22817 was incomplete. This update fixes the problem.
Original advisory details:
It was discovered that Pillow incorrectly handled certain image files. If a user or automated system were tricked into opening a specially-crafted file, a remote attacker could cause Pillow to hang, resulting in a denial of service. (CVE-2021-23437)
It was discovered that Pillow incorrectly handled certain image files. If a user or automated system were tricked into opening a specially-crafted file, a remote attacker could cause Pillow to crash, resulting in a denial of service. This issue ony affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 21.04. (CVE-2021-34552)
It was discovered that Pillow incorrectly handled certain image files. If a user or automated system were tricked into opening a specially-crafted file, a remote attacker could cause Pillow to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2022-22815)
It was discovered that Pillow incorrectly handled certain image files. If a user or automated system were tricked into opening a specially-crafted file, a remote attacker could cause Pillow to crash, resulting in a denial of service. (CVE-2022-22816)
It was discovered that Pillow incorrectly handled certain image files. If a user or automated system were tricked into opening a specially-crafted file, a remote attacker could cause Pillow to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2022-22817)
| URL | Type | |
|---|---|---|
{
"affected": [
{
"database_specific": {
"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"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"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",
"binary_version": "5.1.0-1ubuntu0.8"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "pillow",
"purl": "pkg:deb/ubuntu/pillow@5.1.0-1ubuntu0.8?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.1.0-1ubuntu0.8"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"database_specific": {
"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"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python3-pil",
"binary_version": "7.0.0-4ubuntu0.6"
},
{
"binary_name": "python3-pil.imagetk",
"binary_version": "7.0.0-4ubuntu0.6"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "pillow",
"purl": "pkg:deb/ubuntu/pillow@7.0.0-4ubuntu0.6?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.0.0-4ubuntu0.6"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
}
],
"aliases": [],
"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",
"id": "USN-5227-3",
"modified": "2026-04-27T14:11:27Z",
"published": "2022-10-24T12:56:27Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-5227-3"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2022-22817"
}
],
"related": [],
"schema_version": "1.7.0",
"summary": "pillow vulnerability",
"upstream": [
"UBUNTU-CVE-2022-22817"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.