Summary
This update for python-Pillow fixes the following issues:
- Fixed ImagePath.Path array handling (bsc#1194552, CVE-2022-22815, bsc#1194551, CVE-2022-22816)
- Use snprintf instead of sprintf (bsc#1188574, CVE-2021-34552)
- Fix Memory DOS in Icns, Ico and Blp Image Plugins. (bsc#1183110, CVE-2021-27921, bsc#1183108, CVE-2021-27922, bsc#1183107, CVE-2021-27923)
- Fix OOB read in SgiRleDecode.c (bsc#1183102, CVE-2021-25293)
- Use more specific regex chars to prevent ReDoS (bsc#1183101, CVE-2021-25292)
- Fix negative size read in TiffDecode.c (bsc#1183105, CVE-2021-25290)
- Raise ValueError if color specifier is too long (bsc#1190229, CVE-2021-23437)
- Incorrect error code checking in TiffDecode.c (bsc#1183103, CVE-2021-25289)
- OOB Write in TiffDecode.c (bsc#1180833, CVE-2020-35654)
Fixed packages 1
| Release | Package | Fixed in |
|---|---|---|
| SUSE · SLES 15 SP6 Linux Enterprise Module for Package Hub 15 SP6 | python-Pillow | 7.2.0-150300.3.15.1 |
Vulnerabilities 12
-
Critical 9.8
Out of bounds write in Pillow
An issue was discovered in Pillow before 8.1.1. TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode. NOTE: this issue exists because of an incomplete fix for CVE-2…
-
Critical 9.8
Buffer Overflow in Pillow
Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.
-
High 8.8
Pillow Out-of-bounds Write
In Pillow before 8.1.0, TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode.
-
High 7.5
Regular Expression Denial of Service (ReDoS)
The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.
-
High 7.5
Out-of-bounds Write in Pillow
An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is a negative-offset memcpy with an invalid size.
-
High 7.5
Out of bounds read in Pillow
An issue was discovered in Pillow before 8.1.1. There is an out-of-bounds read in SGIRleDecode.c.
-
High 7.5
Pillow Denial of Service by Uncontrolled Resource Consumption
Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for a BLP container, and thus an attempted memory allocation can be very large.
-
High 7.5
Pillow Uncontrolled Resource Consumption
Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for an ICNS container, and thus an attempted memory allocation can be very large.
-
High 7.5
Pillow Denial of Service by Uncontrolled Resource Consumption
Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for an ICO container, and thus an attempted memory allocation can be very large.
-
Medium 6.5
Regular Expression Denial of Service (ReDoS) in Pillow
An issue was discovered in Pillow before 8.1.1. The PDF parser allows a regular expression DoS (ReDoS) attack via a crafted PDF file because of a catastrophic backtracking regex.
-
Medium 6.5
Improper Initialization in Pillow
path_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path.
-
Medium 6.5
Out-of-bounds Read in Pillow
path_getbbox in path.c in Pillow before 9.0.0 has a buffer over-read during initialization of ImagePath.Path.
References
-
report
https://bugzilla.suse.com/1180833
-
report
https://bugzilla.suse.com/1183101
-
report
https://bugzilla.suse.com/1183102
-
report
https://bugzilla.suse.com/1183103
-
report
https://bugzilla.suse.com/1183105
-
report
https://bugzilla.suse.com/1183107
-
report
https://bugzilla.suse.com/1183108
-
report
https://bugzilla.suse.com/1183110
-
report
https://bugzilla.suse.com/1188574
-
report
https://bugzilla.suse.com/1190229
-
report
https://bugzilla.suse.com/1194551
-
report
https://bugzilla.suse.com/1194552
-
web
https://www.suse.com/security/cve/CVE-2020-35654
-
web
https://www.suse.com/security/cve/CVE-2021-23437
-
web
https://www.suse.com/security/cve/CVE-2021-25289
-
web
https://www.suse.com/security/cve/CVE-2021-25290
-
web
https://www.suse.com/security/cve/CVE-2021-25292
-
web
https://www.suse.com/security/cve/CVE-2021-25293
-
web
https://www.suse.com/security/cve/CVE-2021-27921
-
web
https://www.suse.com/security/cve/CVE-2021-27922
-
web
https://www.suse.com/security/cve/CVE-2021-27923
-
web
https://www.suse.com/security/cve/CVE-2021-34552
-
web
https://www.suse.com/security/cve/CVE-2022-22815
-
web
https://www.suse.com/security/cve/CVE-2022-22816