SB2022112234 - Gentoo update for Pillow
Published: November 22, 2022
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 8 secuirty vulnerabilities.
1) Incorrect Regular Expression (CVE-ID: CVE-2021-23437)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient input validation when processing regular expressions. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.
2) Buffer overflow (CVE-ID: CVE-2021-34552)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error when processing untrusted input. A remote attacker with ability to pass controlled parameters directly into a convert function can trigger memory corruption and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
3) Path traversal (CVE-ID: CVE-2022-22815)
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences in path_getbbox() function in path.c. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.
4) Out-of-bounds read (CVE-ID: CVE-2022-22816)
The vulnerability allows a remote attacker to gain access to sensitive information.
The vulnerability exists due to buffer over-read during initialization of ImagePath.Path in path_getbbox() function in path.c. A remote attacker can pass a specially crafted file to the affected library and read contents of memory on the system.
5) Exposed dangerous method or function (CVE-ID: CVE-2022-22817)
The vulnerability allows a remote attacker to compromise the affected system.
The vulnerability exists due to usage of PIL.ImageMath.eval() function on arbitrary expressions. A remote attacker can pass specially crafted file to the library and execute arbitrary code on the system.
6) Input validation error (CVE-ID: CVE-2022-24303)
The vulnerability allows a remote attacker to delete arbitrary files on the system.
The
vulnerability exists due to input validation error when processing
spaces in path to the temporary directory on Linux or macOS. A remote attacker can pass a specially crafted file to the application and delete arbitrary files on the system.
7) Resource management error (CVE-ID: CVE-2022-45198)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to improper management of internal resources when handing highly compressed GIF data. A remote attacker can pass specially crafted GIF file to the application and perform a denial of service (DoS) attack.
8) Resource exhaustion (CVE-ID: CVE-2022-45199)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to application does not properly control consumption of internal resources within the TiffImagePlugin.py when setting up the context for image decoding. A remote attacker can trigger resource exhaustion via a large value in the SAMPLESPERPIXEL tag and perform a denial of service (DoS) attack.
Remediation
Install update from vendor's website.