Operating System:

[RedHat]

Published:

25 February 2020

Protect yourself against future threats.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2020.0659
                       python-pillow security update
                             25 February 2020

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           python-pillow
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 7
                   Red Hat Enterprise Linux WS/Desktop 7
                   Red Hat Enterprise Linux Server 8
                   Red Hat Enterprise Linux WS/Desktop 8
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2020-5312 CVE-2020-5311 CVE-2019-16865

Reference:         ESB-2020.0638
                   ESB-2020.0632
                   ESB-2020.0448
                   ESB-2020.0051

Original Bulletin: 
   https://access.redhat.com/errata/RHSA-2020:0578
   https://access.redhat.com/errata/RHSA-2020:0580

Comment: This bulletin contains two (2) Red Hat security advisories.

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Important: python-pillow security update
Advisory ID:       RHSA-2020:0578-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2020:0578
Issue date:        2020-02-24
CVE Names:         CVE-2019-16865 CVE-2020-5312 
=====================================================================

1. Summary:

An update for python-pillow is now available for Red Hat Enterprise Linux
7.

Red Hat Product Security has rated this update as having a security impact
of Important. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available for each vulnerability
from the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Client (v. 7) - x86_64
Red Hat Enterprise Linux Client Optional (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64
Red Hat Enterprise Linux Server (v. 7) - ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 7) - ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 7) - x86_64
Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64

3. Description:

The python-pillow packages contain a Python image processing library that
provides extensive file format support, an efficient internal
representation, and powerful image-processing capabilities.

Security Fix(es):

* python-pillow: improperly restricted operations on memory buffer in
libImaging/PcxDecode.c (CVE-2020-5312)

* python-pillow: reading specially crafted image files leads to allocation
of large amounts of memory and denial of service (CVE-2019-16865)

For more details about the security issue(s), including the impact, a CVSS
score, acknowledgments, and other related information, refer to the CVE
page(s) listed in the References section.

4. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

https://access.redhat.com/articles/11258

5. Bugs fixed (https://bugzilla.redhat.com/):

1774066 - CVE-2019-16865 python-pillow: reading specially crafted image files leads to allocation of large amounts of memory and denial of service
1789533 - CVE-2020-5312 python-pillow: improperly restricted operations on memory buffer in libImaging/PcxDecode.c

6. Package List:

Red Hat Enterprise Linux Client (v. 7):

Source:
python-pillow-2.0.0-20.gitd1c6db8.el7_7.src.rpm

x86_64:
python-pillow-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm

Red Hat Enterprise Linux Client Optional (v. 7):

x86_64:
python-pillow-2.0.0-20.gitd1c6db8.el7_7.i686.rpm
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.el7_7.i686.rpm
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-devel-2.0.0-20.gitd1c6db8.el7_7.i686.rpm
python-pillow-devel-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-doc-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-qt-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-sane-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-tk-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm

Red Hat Enterprise Linux ComputeNode Optional (v. 7):

Source:
python-pillow-2.0.0-20.gitd1c6db8.el7_7.src.rpm

x86_64:
python-pillow-2.0.0-20.gitd1c6db8.el7_7.i686.rpm
python-pillow-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.el7_7.i686.rpm
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-devel-2.0.0-20.gitd1c6db8.el7_7.i686.rpm
python-pillow-devel-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-doc-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-qt-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-sane-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-tk-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
python-pillow-2.0.0-20.gitd1c6db8.el7_7.src.rpm

ppc64:
python-pillow-2.0.0-20.gitd1c6db8.el7_7.ppc64.rpm
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.el7_7.ppc64.rpm

ppc64le:
python-pillow-2.0.0-20.gitd1c6db8.el7_7.ppc64le.rpm
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.el7_7.ppc64le.rpm

s390x:
python-pillow-2.0.0-20.gitd1c6db8.el7_7.s390x.rpm
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.el7_7.s390x.rpm

x86_64:
python-pillow-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm

Red Hat Enterprise Linux Server Optional (v. 7):

ppc64:
python-pillow-2.0.0-20.gitd1c6db8.el7_7.ppc.rpm
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.el7_7.ppc.rpm
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.el7_7.ppc64.rpm
python-pillow-devel-2.0.0-20.gitd1c6db8.el7_7.ppc.rpm
python-pillow-devel-2.0.0-20.gitd1c6db8.el7_7.ppc64.rpm
python-pillow-doc-2.0.0-20.gitd1c6db8.el7_7.ppc64.rpm
python-pillow-qt-2.0.0-20.gitd1c6db8.el7_7.ppc64.rpm
python-pillow-sane-2.0.0-20.gitd1c6db8.el7_7.ppc64.rpm
python-pillow-tk-2.0.0-20.gitd1c6db8.el7_7.ppc64.rpm

ppc64le:
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.el7_7.ppc64le.rpm
python-pillow-devel-2.0.0-20.gitd1c6db8.el7_7.ppc64le.rpm
python-pillow-doc-2.0.0-20.gitd1c6db8.el7_7.ppc64le.rpm
python-pillow-qt-2.0.0-20.gitd1c6db8.el7_7.ppc64le.rpm
python-pillow-sane-2.0.0-20.gitd1c6db8.el7_7.ppc64le.rpm
python-pillow-tk-2.0.0-20.gitd1c6db8.el7_7.ppc64le.rpm

s390x:
python-pillow-2.0.0-20.gitd1c6db8.el7_7.s390.rpm
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.el7_7.s390.rpm
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.el7_7.s390x.rpm
python-pillow-devel-2.0.0-20.gitd1c6db8.el7_7.s390.rpm
python-pillow-devel-2.0.0-20.gitd1c6db8.el7_7.s390x.rpm
python-pillow-doc-2.0.0-20.gitd1c6db8.el7_7.s390x.rpm
python-pillow-qt-2.0.0-20.gitd1c6db8.el7_7.s390x.rpm
python-pillow-sane-2.0.0-20.gitd1c6db8.el7_7.s390x.rpm
python-pillow-tk-2.0.0-20.gitd1c6db8.el7_7.s390x.rpm

x86_64:
python-pillow-2.0.0-20.gitd1c6db8.el7_7.i686.rpm
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.el7_7.i686.rpm
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-devel-2.0.0-20.gitd1c6db8.el7_7.i686.rpm
python-pillow-devel-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-doc-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-qt-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-sane-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-tk-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
python-pillow-2.0.0-20.gitd1c6db8.el7_7.src.rpm

x86_64:
python-pillow-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm

Red Hat Enterprise Linux Workstation Optional (v. 7):

x86_64:
python-pillow-2.0.0-20.gitd1c6db8.el7_7.i686.rpm
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.el7_7.i686.rpm
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-devel-2.0.0-20.gitd1c6db8.el7_7.i686.rpm
python-pillow-devel-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-doc-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-qt-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-sane-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm
python-pillow-tk-2.0.0-20.gitd1c6db8.el7_7.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/

7. References:

https://access.redhat.com/security/cve/CVE-2019-16865
https://access.redhat.com/security/cve/CVE-2020-5312
https://access.redhat.com/security/updates/classification/#important

8. Contact:

The Red Hat security contact is <secalert@redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2020 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBXlPQG9zjgjWX9erEAQgkYA//YuTX+L8HO0z9hYxL2Hfm/4Mqf6d88kCG
J0PjBkyJPIqxiKoxM/I2MuXo+kIH6FcGeu14Qcpg/cKX5JN3EjabSWXufP23kb+H
KyXUk93n2FOTF/8oEIOKRLOnQf3HV9d0BpWa+iZexUuFqjE4vbNVt/9xZORdP1zV
vU8x7jPUk0+M4Aghh41JKMeXYrRxVtPM0LFld78DygTkeuPRAwhVbpB9DvCOptW7
WibmWD/tT98yzFgBPceYaII9YthKMGmL/0CFhgGp5Fe/AhngUy+M92by0VM2A+xQ
aqI+areiy7pHtSCmwfKh3uwWoip4TFkZOsbLkxfnXk6NZO3oX0J3kmhYXr8BUVNc
I070Rddl5RlaRlh04sN8LAPgHV3cMWs4spk6SAWaUTCfgWmVR3+Uqreq9AjE8v/X
2omaw7lE9nMR293aPup8dWr45hKhB1eVTz1XcYRUbOsEjne+cj0GhvrDZiiSRpbw
kzNkUF1DRJxq3XOgNFrCkqCJ/M7Azb72Fwlk3ACqpFyROQ1WRyrkL06fI/SjkICS
68uH+0GXEk48VUkIHeBJdsK1+Ny+Hp/VbIcHYDPgEpULTNiZAqaeH7xy+vsUTc5y
gUZ4Kg85bNuphvzniDfIcWjHK9ukNk2MGnnRmEY+DBNJz40dIYZvi7qkHwcBO4Dx
Ggqp99xNPXQ=
=uI6F
- -----END PGP SIGNATURE-----


- --------------------------------------------------------------------------------


- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Important: python-pillow security update
Advisory ID:       RHSA-2020:0580-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2020:0580
Issue date:        2020-02-24
CVE Names:         CVE-2019-16865 CVE-2020-5311 CVE-2020-5312 
=====================================================================

1. Summary:

An update for python-pillow is now available for Red Hat Enterprise Linux
8.

Red Hat Product Security has rated this update as having a security impact
of Important. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available for each vulnerability
from the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AppStream (v. 8) - aarch64, ppc64le, s390x, x86_64

3. Description:

The python-pillow packages contain a Python image processing library that
provides extensive file format support, an efficient internal
representation, and powerful image-processing capabilities.

Security Fix(es):

* python-pillow: out-of-bounds write in expandrow in
libImaging/SgiRleDecode.c (CVE-2020-5311)

* python-pillow: improperly restricted operations on memory buffer in
libImaging/PcxDecode.c (CVE-2020-5312)

* python-pillow: reading specially crafted image files leads to allocation
of large amounts of memory and denial of service (CVE-2019-16865)

For more details about the security issue(s), including the impact, a CVSS
score, acknowledgments, and other related information, refer to the CVE
page(s) listed in the References section.

4. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

https://access.redhat.com/articles/11258

5. Bugs fixed (https://bugzilla.redhat.com/):

1774066 - CVE-2019-16865 python-pillow: reading specially crafted image files leads to allocation of large amounts of memory and denial of service
1789533 - CVE-2020-5312 python-pillow: improperly restricted operations on memory buffer in libImaging/PcxDecode.c
1789535 - CVE-2020-5311 python-pillow: out-of-bounds write in expandrow in libImaging/SgiRleDecode.c

6. Package List:

Red Hat Enterprise Linux AppStream (v. 8):

Source:
python-pillow-5.1.1-10.el8_1.src.rpm

aarch64:
python-pillow-debuginfo-5.1.1-10.el8_1.aarch64.rpm
python-pillow-debugsource-5.1.1-10.el8_1.aarch64.rpm
python3-pillow-5.1.1-10.el8_1.aarch64.rpm
python3-pillow-debuginfo-5.1.1-10.el8_1.aarch64.rpm
python3-pillow-tk-debuginfo-5.1.1-10.el8_1.aarch64.rpm

ppc64le:
python-pillow-debuginfo-5.1.1-10.el8_1.ppc64le.rpm
python-pillow-debugsource-5.1.1-10.el8_1.ppc64le.rpm
python3-pillow-5.1.1-10.el8_1.ppc64le.rpm
python3-pillow-debuginfo-5.1.1-10.el8_1.ppc64le.rpm
python3-pillow-tk-debuginfo-5.1.1-10.el8_1.ppc64le.rpm

s390x:
python-pillow-debuginfo-5.1.1-10.el8_1.s390x.rpm
python-pillow-debugsource-5.1.1-10.el8_1.s390x.rpm
python3-pillow-5.1.1-10.el8_1.s390x.rpm
python3-pillow-debuginfo-5.1.1-10.el8_1.s390x.rpm
python3-pillow-tk-debuginfo-5.1.1-10.el8_1.s390x.rpm

x86_64:
python-pillow-debuginfo-5.1.1-10.el8_1.x86_64.rpm
python-pillow-debugsource-5.1.1-10.el8_1.x86_64.rpm
python3-pillow-5.1.1-10.el8_1.x86_64.rpm
python3-pillow-debuginfo-5.1.1-10.el8_1.x86_64.rpm
python3-pillow-tk-debuginfo-5.1.1-10.el8_1.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/

7. References:

https://access.redhat.com/security/cve/CVE-2019-16865
https://access.redhat.com/security/cve/CVE-2020-5311
https://access.redhat.com/security/cve/CVE-2020-5312
https://access.redhat.com/security/updates/classification/#important

8. Contact:

The Red Hat security contact is <secalert@redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2020 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBXlPII9zjgjWX9erEAQg5yw//b7+8N4FLee/Jo3EuzKGisfa7D5IVoCYk
yIhJUw7/DT8FbilgFSV7vSNP3jYVyWsgEF0ReOaSZJFUefjNPCVzb9PrEudQNv8C
uIpfMVY4g+ndnAPDPbMy+P8H/mEzkG6dzZ5tiMXZz4JkKydd8w1fM4lFJwQxCoKb
Qge5fylWfsVjSuOcHnqnb971ifynX5HaGHzqZS7BphHAfP4XR1UDeRtq+c7m6THV
UQZXCyQFXixv8bJhkACdCv7cHrwYu736OMAMSgcRqhIgMlNSDDZy0MZfXHX908VL
cSNe/LSDRwoouZnyWPTaTCNWSJ0CXE8dTt4mCEqMoouo10Q4hPwrnjNN5Mcia1ci
+xR6/vYmNuIQbV81eYBb9ilOvfRxQecs/NTALFKgMfsICnEBRKJqLcs5UR05uJXl
vVMulJK6xInatOjglOjTTeiI37px5TI1Rzt6763SsBKYneGrf1sV41Ufdm8d4tp5
/nVUfnqaH7vERNWvaBuooZ3AC52/NSEshrcPYTXAUJJ/UV9hYn+dfGhUPETEDAsC
wM+Xo0G3PAkr/UqOD5DEi0Egwn6zqwBcMwYE8cgA9D6pRelW7TKiq9htOLMKIVlv
nq+sz4CEUPpzxUQMXB6y897N7QAAO9VbnQ/yDEoAnMtOvnnEpBFPFRDQv1aYpmOG
SIXqSLwCC9k=
=NQDv
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBXlSQrGaOgq3Tt24GAQiWYBAA0k2o/MmXfpakeVnfHWFApGfBonipreBQ
bFNdEbeQ//lZTge0AX9eMy1DeNk+Ey9lBwk8RE7kWUUeS1mBzpXzfeTfKIvfRb68
4ywt4lEq2Pz7gCF6iTAGSx5PCACPDBgNrK19saXabDBqDaq4/S+2cKBsob9p4oap
dSvtjrSHLJTFeHrH5WbF+Rh0wiClCewhaX4bHhALRH+PZFkPZWiA6wtAodTIpIca
NEvRitBprs9ouOoSswoykP4amKpGsjBnB0Q+whGKgBwjBBOqxWmBgSKg/EkVISZE
bXVrp8O67pYgwjQwbHgH2MTbSX3jIbYTyYI5y8DbppitF7m5RuaYpPxZhB+rVWop
3s02ktaC7zIiX9ENLupRCU2txoQFQJIf/JRqExoMYB1GXfo6IhxrgNF0fUC0JMrx
WNsLEhVRB6e8/axlPMm5uQXhPD+E9CuJD6jzxCsEnp8+2AgSNGexuy+huZy7BXoX
eRcdLTdhCsByP3SArVliXu+MqZiebXXWZeW0OK94WNDnGollTQlX7Hghm3dLymO+
phS1fK9M4wKw/+MN0hBVa+TYAzs9DIayk2SxQSLJHFgGnXxagUQhUBSWZJsmgaap
xfHlae3vCE4g4hYDZY++avDqoTJDYzRzCOvYLBdW1eoj18tiAuOMOMdYg7gsR2tn
pVEuEx3IuSU=
=uBJV
-----END PGP SIGNATURE-----