Headline
Ubuntu Security Notice USN-5777-1
Ubuntu Security Notice 5777-1 - It was discovered that Pillow incorrectly handled the deletion of temporary files when using a temporary directory that contains spaces. An attacker could possibly use this issue to delete arbitrary files. This issue only affected Ubuntu 20.04 LTS. It was discovered that Pillow incorrectly handled the decompression of highly compressed GIF data. An attacker could possibly use this issue to cause Pillow to crash, resulting in a denial of service.
==========================================================================
Ubuntu Security Notice USN-5777-1
December 13, 2022
pillow vulnerabilities
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
Summary:
Several security issues were fixed in Pillow.
Software Description:
- pillow: Python Imaging Library
Details:
It was discovered that Pillow incorrectly handled the deletion of temporary
files when using a temporary directory that contains spaces. An attacker
could
possibly use this issue to delete arbitrary files. This issue only affected
Ubuntu 20.04 LTS. (CVE-2022-24303)
It was discovered that Pillow incorrectly handled the decompression of
highly
compressed GIF data. An attacker could possibly use this issue to cause
Pillow
to crash, resulting in a denial of service. (CVE-2022-45198)
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 22.04 LTS:
python3-pil 9.0.1-1ubuntu0.1
Ubuntu 20.04 LTS:
python3-pil 7.0.0-4ubuntu0.7
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-5777-1
CVE-2022-24303, CVE-2022-45198
Package Information:
https://launchpad.net/ubuntu/+source/pillow/9.0.1-1ubuntu0.1
https://launchpad.net/ubuntu/+source/pillow/7.0.0-4ubuntu0.7
Related news
Gentoo Linux Security Advisory 202211-10 - Multiple vulnerabilities have been found in Pillow, the worst of which could result in arbitrary code execution. Versions less than 9.3.0 are affected.
Gentoo Linux Security Advisory 202211-10 - Multiple vulnerabilities have been found in Pillow, the worst of which could result in arbitrary code execution. Versions less than 9.3.0 are affected.
Pillow before 9.2.0 performs Improper Handling of Highly Compressed GIF Data (Data Amplification).
Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.