Debian 10260 Published by

A pillow security update has been released for Debian GNU/Linux 9 LTS to address several vulnerabilities.



DLA 2716-1: pillow security update


-------------------------------------------------------------------------
Debian LTS Advisory DLA-2716-1 debian-lts@lists.debian.org
  https://www.debian.org/lts/security/ Neil Williams
July 22, 2021   https://wiki.debian.org/LTS
-------------------------------------------------------------------------

Package : pillow
Version : 4.0.0-4+deb9u3
CVE ID : CVE-2020-35653 CVE-2021-25290 CVE-2021-28676 CVE-2021-28677
CVE-2021-34552
Debian Bug : #991293, #989062

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