Ubuntu 6334 Published by

A Pillow security update has been released for Ubuntu Linux 18.04 and 20.04 LTS.



USN-5227-3: Pillow vulnerability


==========================================================================
Ubuntu Security Notice USN-5227-3
October 24, 2022

pillow vulnerability
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS

Summary:

An incomplete fix was discovered in Pillow.

Software Description:
- pillow: Python Imaging Library

Details:

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)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 20.04 LTS:
python3-pil 7.0.0-4ubuntu0.6

Ubuntu 18.04 LTS:
python-pil 5.1.0-1ubuntu0.8
python3-pil 5.1.0-1ubuntu0.8

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-5227-3
https://ubuntu.com/security/notices/USN-5227-1
CVE-2022-22817

Package Information:
https://launchpad.net/ubuntu/+source/pillow/7.0.0-4ubuntu0.6
https://launchpad.net/ubuntu/+source/pillow/5.1.0-1ubuntu0.8