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

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

Synopsis:          Important: python-pillow security update
Advisory ID:       RHSA-2022:0643-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2022:0643
Issue date:        2022-02-22
CVE Names:         CVE-2022-22816 CVE-2022-22817 
=====================================================================

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 CodeReady Linux Builder (v. 8) - aarch64, noarch, ppc64le, s390x, x86_64
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: PIL.ImageMath.eval allows evaluation of arbitrary
expressions (CVE-2022-22817)

* python-pillow: buffer over-read during initialization of ImagePath.Path
in path_getbbox() in path.c (CVE-2022-22816)

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/):

2042522 - CVE-2022-22816 python-pillow: buffer over-read during initialization of ImagePath.Path in path_getbbox() in path.c
2042527 - CVE-2022-22817 python-pillow: PIL.ImageMath.eval allows evaluation of arbitrary expressions

6. Package List:

Red Hat Enterprise Linux AppStream (v. 8):

Source:
python-pillow-5.1.1-18.el8_5.src.rpm

aarch64:
python-pillow-debuginfo-5.1.1-18.el8_5.aarch64.rpm
python-pillow-debugsource-5.1.1-18.el8_5.aarch64.rpm
python3-pillow-5.1.1-18.el8_5.aarch64.rpm
python3-pillow-debuginfo-5.1.1-18.el8_5.aarch64.rpm
python3-pillow-tk-debuginfo-5.1.1-18.el8_5.aarch64.rpm

ppc64le:
python-pillow-debuginfo-5.1.1-18.el8_5.ppc64le.rpm
python-pillow-debugsource-5.1.1-18.el8_5.ppc64le.rpm
python3-pillow-5.1.1-18.el8_5.ppc64le.rpm
python3-pillow-debuginfo-5.1.1-18.el8_5.ppc64le.rpm
python3-pillow-tk-debuginfo-5.1.1-18.el8_5.ppc64le.rpm

s390x:
python-pillow-debuginfo-5.1.1-18.el8_5.s390x.rpm
python-pillow-debugsource-5.1.1-18.el8_5.s390x.rpm
python3-pillow-5.1.1-18.el8_5.s390x.rpm
python3-pillow-debuginfo-5.1.1-18.el8_5.s390x.rpm
python3-pillow-tk-debuginfo-5.1.1-18.el8_5.s390x.rpm

x86_64:
python-pillow-debuginfo-5.1.1-18.el8_5.x86_64.rpm
python-pillow-debugsource-5.1.1-18.el8_5.x86_64.rpm
python3-pillow-5.1.1-18.el8_5.x86_64.rpm
python3-pillow-debuginfo-5.1.1-18.el8_5.x86_64.rpm
python3-pillow-tk-debuginfo-5.1.1-18.el8_5.x86_64.rpm

Red Hat CodeReady Linux Builder (v. 8):

aarch64:
python-pillow-debuginfo-5.1.1-18.el8_5.aarch64.rpm
python-pillow-debugsource-5.1.1-18.el8_5.aarch64.rpm
python3-pillow-debuginfo-5.1.1-18.el8_5.aarch64.rpm
python3-pillow-devel-5.1.1-18.el8_5.aarch64.rpm
python3-pillow-tk-5.1.1-18.el8_5.aarch64.rpm
python3-pillow-tk-debuginfo-5.1.1-18.el8_5.aarch64.rpm

noarch:
python3-pillow-doc-5.1.1-18.el8_5.noarch.rpm

ppc64le:
python-pillow-debuginfo-5.1.1-18.el8_5.ppc64le.rpm
python-pillow-debugsource-5.1.1-18.el8_5.ppc64le.rpm
python3-pillow-debuginfo-5.1.1-18.el8_5.ppc64le.rpm
python3-pillow-devel-5.1.1-18.el8_5.ppc64le.rpm
python3-pillow-tk-5.1.1-18.el8_5.ppc64le.rpm
python3-pillow-tk-debuginfo-5.1.1-18.el8_5.ppc64le.rpm

s390x:
python-pillow-debuginfo-5.1.1-18.el8_5.s390x.rpm
python-pillow-debugsource-5.1.1-18.el8_5.s390x.rpm
python3-pillow-debuginfo-5.1.1-18.el8_5.s390x.rpm
python3-pillow-devel-5.1.1-18.el8_5.s390x.rpm
python3-pillow-tk-5.1.1-18.el8_5.s390x.rpm
python3-pillow-tk-debuginfo-5.1.1-18.el8_5.s390x.rpm

x86_64:
python-pillow-debuginfo-5.1.1-18.el8_5.i686.rpm
python-pillow-debuginfo-5.1.1-18.el8_5.x86_64.rpm
python-pillow-debugsource-5.1.1-18.el8_5.i686.rpm
python-pillow-debugsource-5.1.1-18.el8_5.x86_64.rpm
python3-pillow-5.1.1-18.el8_5.i686.rpm
python3-pillow-debuginfo-5.1.1-18.el8_5.i686.rpm
python3-pillow-debuginfo-5.1.1-18.el8_5.x86_64.rpm
python3-pillow-devel-5.1.1-18.el8_5.i686.rpm
python3-pillow-devel-5.1.1-18.el8_5.x86_64.rpm
python3-pillow-tk-5.1.1-18.el8_5.x86_64.rpm
python3-pillow-tk-debuginfo-5.1.1-18.el8_5.i686.rpm
python3-pillow-tk-debuginfo-5.1.1-18.el8_5.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-2022-22816
https://access.redhat.com/security/cve/CVE-2022-22817
https://access.redhat.com/security/updates/classification/#important

8. Contact:

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

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

iQIVAwUBYhVgKdzjgjWX9erEAQhcxw//Yo0GftM1J5ObpMseBj1IE7VfuFZmves0
l9vlwr0L9J1ktbPs2RcIaA3d+TPdErVcjUrYdPNFdnnf7hIzTD/7DOQd26AIjcsR
PMILGf/ojcolpn6VvBZp+BYPinBlh0iW8ExPkThbGaiFaXVUXjHw4TIaQ0kPmdqf
5j/HSMhlTDggKTmyJb3ZLQ37KOIgP0Fw3qoUv2p8zqUqiH1p8ZT1UHvTgsOqvZBV
+KmRFf5xxFJN2+FT5qLjjJoBED34l08G6yLuABSPR+azBivNtwlX7snsKucgPduB
rvpRY04AyoIzmNhVhGD6RpVa2dttaDnya4MeXbHJZwW86jXvbBSEajzX3bzEcvtE
IoiOwMCDGmELo/jqbRZ4D6kxxZ0brKH9jBq+Tv0azTvRNR/zeaFiPSc1jGV8hNzw
JXNbGINyf81sFyNn3XJquX8Kdwoo7mrSaf3vqULu1PFOCaORpvfI93/3YcSzt6/2
lJeuPZ9H6nRAb6tLknfLHpcbmu86kIIoy/rYt4LayRUcApCQqC0sXz2xihpSWw2C
gwjONYuOhA7pAxmqY9nMMVpaSjt23k4w68Tq/B2PXf8mvMqRkRyy66GpggOMTwNq
w9aWzW18yrW3PAWnS4b2OHu7B6qc+/hiQvBNkxExSuWNjEA0FryT7+lL/H1dKVmR
3lt2sOiVfn0=
=HyGE
-----END PGP SIGNATURE-----

--
RHSA-announce mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/rhsa-announce