USN-5227-2: Pillow vulnerabilities
17 January 2022
Several security issues were fixed in Pillow.
Releases
Packages
- pillow - Python Imaging Library
Details
USN-5227-1 fixed several vulnerabilities in Pillow. This update provides
the corresponding update for Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.
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)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 16.04
-
python-pil
-
3.1.2-0ubuntu1.6+esm1
Available with Ubuntu Pro
-
python3-pil
-
3.1.2-0ubuntu1.6+esm1
Available with Ubuntu Pro
Ubuntu 14.04
-
python-pil
-
2.3.0-1ubuntu3.4+esm3
Available with Ubuntu Pro
-
python3-pil
-
2.3.0-1ubuntu3.4+esm3
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.
Related notices
- USN-5227-1: python3-pil, python3-pil.imagetk, python-pil-doc, python-pil, python-pil.imagetk, pillow
- USN-5227-3: python3-pil, python3-pil.imagetk, python-pil-doc, python-pil, python-pil.imagetk, pillow