Summary
This update for python-Pillow fixes the following issues:
- CVE-2021-25290: Fixed a negative-offset memcpy with an invalid size in TiffDecode.c (bsc#1183105).
- CVE-2021-27922,CVE-2021-27923: Fixed improper reported size of a contained image (bsc#1183108,bsc#1183107)
- CVE-2020-35653: Fixed buffer over-read in PcxDecode when decoding a crafted PCX file (bsc#1180834).
- CVE-2021-25287: Fixed out-of-bounds read in J2kDecode in j2ku_graya_la (bsc#1185805).
- CVE-2021-25288: Fixed out-of-bounds read in J2kDecode in j2ku_gray_i (bsc#1185803).
- CVE-2021-28675: Fixed DoS in PsdImagePlugin (bsc#1185804).
- CVE-2021-28677: Fixed DoS in the open phase via a malicious EPS file (bsc#1185785).
- CVE-2021-28676: Fixed infinite loop in FliDecode.c (bsc#1185786).
Fixed packages 1
| Release | Package | Fixed in |
|---|---|---|
| SUSE · OpenStack Cloud 7 | python-Pillow | 2.8.1-4.22.1 |
Vulnerabilities 9
-
Critical 9.1
Out-of-bounds Read in Pillow
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.
-
Critical 9.1
Pillow Out-of-bounds Read vulnerability
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_gray_i.
-
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
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.
-
High 7.5
Potential infinite loop in Pillow
An issue was discovered in Pillow before 8.2.0. For FLI data, FliDecode did not properly check that the block advance was non-zero, potentially leading to an infinite loop on load.
-
High 7.5
Uncontrolled Resource Consumption in Pillow
An issue was discovered in Pillow before 8.2.0. For EPS data, the readline implementation used in EPSImageFile has to deal with any combination of \r and \n as line endings. It used an accidentally quadratic method of accumulating lines while looking for a li…
-
High 7.1
Pillow Out-of-bounds Read
In Pillow before 8.1.0, PcxDecode has a buffer over-read when decoding a crafted PCX file because the user-supplied stride value is trusted for buffer calculations.
-
Medium 5.5
Pillow denial of service
An issue was discovered in Pillow before 8.2.0. PSDImagePlugin.PsdImageFile lacked a sanity check on the number of input layers relative to the size of the data block. This could lead to a DoS on Image.open prior to Image.load.
References
-
report
https://bugzilla.suse.com/1180834
-
report
https://bugzilla.suse.com/1183105
-
report
https://bugzilla.suse.com/1183107
-
report
https://bugzilla.suse.com/1183108
-
report
https://bugzilla.suse.com/1185785
-
report
https://bugzilla.suse.com/1185786
-
report
https://bugzilla.suse.com/1185803
-
report
https://bugzilla.suse.com/1185804
-
report
https://bugzilla.suse.com/1185805
-
web
https://www.suse.com/security/cve/CVE-2020-35653
-
web
https://www.suse.com/security/cve/CVE-2021-25287
-
web
https://www.suse.com/security/cve/CVE-2021-25288
-
web
https://www.suse.com/security/cve/CVE-2021-25290
-
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-28675
-
web
https://www.suse.com/security/cve/CVE-2021-28676
-
web
https://www.suse.com/security/cve/CVE-2021-28677