DLA-2716-1

Source
https://storage.googleapis.com/debian-osv/dla-osv/DLA-2716-1.json
Aliases
Published
2021-07-22T00:00:00Z
Modified
2022-08-05T05:19:09.500322Z
Details

Several vulnerabilities have been discovered in pillow (Python Imaging Library - PIL).

Affected binary packages:

python-imaging python-pil-dbg python-pil-doc python-pil.imagetk-dbg python-pil.imagetk python-pil python3-pil-dbg python3-pil.imagetk-dbg python3-pil.imagetk python3-pil

  • CVE-2020-35653 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.
  • CVE-2021-25290 An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is a negative-offset memcpy with an invalid size.
  • CVE-2021-28676 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.
  • CVE-2021-28677 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 line ending. A malicious EPS file could use this to perform a DoS of Pillow in the open phase, before an image was accepted for opening.
  • CVE-2021-34552 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.

For Debian 9 stretch, these problems have been fixed in version 4.0.0-4+deb9u3.

We recommend that you upgrade your pillow packages.

For the detailed security status of pillow please refer to its security tracker page at: https://security-tracker.debian.org/tracker/pillow

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

References

Affected packages

Debian:9 / pillow

pillow

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0
Fixed
4.0.0-4+deb9u3

Affected versions

4.*

4.0.0-4
4.0.0-4+deb9u1
4.0.0-4+deb9u2