SB2021041363 - Multiple vulnerabilities in Pillow
Published: April 13, 2021
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 7 secuirty vulnerabilities.
1) Buffer overflow (CVE-ID: N/A)
The vulnerability allows a remote attacker to perform denial of service attack.
The vulnerability exists due to a boundary error when processing TTF fonts in ImageFont.py. A remote attacker can create a specially crafted file to the application, trigger memory corruption and crash the application.
2) Out-of-bounds read (CVE-ID: CVE-2021-25287)
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to a boundary condition in Jpeg2KDecode method. A remote attacker can create a specially crafted J2k image, trigger out-of-bounds read error and read contents of memory on the system.
3) Out-of-bounds read (CVE-ID: CVE-2021-25288)
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to a boundary condition in Jpeg2KDecode method. A remote attacker can create a specially crafted J2k image, trigger out-of-bounds read error and read contents of memory on the system.
4) Resource management error (CVE-ID: CVE-2021-28675)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to improper management of internal resources in PsdImagePlugin.PsdImageFile method. A remote attacker can pass specially crafted file to the application and perform a denial of service (DoS) attack.
5) Infinite loop (CVE-ID: CVE-2021-28676)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to infinite loop in FliDecode.c. A remote attacker can consume all available system resources and cause denial of service conditions.
6) Input validation error (CVE-ID: CVE-2021-28677)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient validation of user-supplied input when processing new line characters, such as "\r", "\n" when opening files. A remote attacker can pass specially crafted file to the application and perform a denial of service (DoS) attack.
7) Resource management error (CVE-ID: CVE-2021-28678)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to improper management of internal resources in BlpImagePlugin. A remote attacker can pass specially crafted file to the application and perform a denial of service (DoS) attack.
Remediation
Install update from vendor's website.