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

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

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

An update for python-pillow is now available for Red Hat Enterprise Linux
8.2 Extended Update Support.

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 EUS (v. 8.2) - 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 EUS (v. 8.2):

Source:
python-pillow-5.1.1-14.el8_2.src.rpm

aarch64:
python-pillow-debuginfo-5.1.1-14.el8_2.aarch64.rpm
python-pillow-debugsource-5.1.1-14.el8_2.aarch64.rpm
python3-pillow-5.1.1-14.el8_2.aarch64.rpm
python3-pillow-debuginfo-5.1.1-14.el8_2.aarch64.rpm
python3-pillow-tk-debuginfo-5.1.1-14.el8_2.aarch64.rpm

ppc64le:
python-pillow-debuginfo-5.1.1-14.el8_2.ppc64le.rpm
python-pillow-debugsource-5.1.1-14.el8_2.ppc64le.rpm
python3-pillow-5.1.1-14.el8_2.ppc64le.rpm
python3-pillow-debuginfo-5.1.1-14.el8_2.ppc64le.rpm
python3-pillow-tk-debuginfo-5.1.1-14.el8_2.ppc64le.rpm

s390x:
python-pillow-debuginfo-5.1.1-14.el8_2.s390x.rpm
python-pillow-debugsource-5.1.1-14.el8_2.s390x.rpm
python3-pillow-5.1.1-14.el8_2.s390x.rpm
python3-pillow-debuginfo-5.1.1-14.el8_2.s390x.rpm
python3-pillow-tk-debuginfo-5.1.1-14.el8_2.s390x.rpm

x86_64:
python-pillow-debuginfo-5.1.1-14.el8_2.x86_64.rpm
python-pillow-debugsource-5.1.1-14.el8_2.x86_64.rpm
python3-pillow-5.1.1-14.el8_2.x86_64.rpm
python3-pillow-debuginfo-5.1.1-14.el8_2.x86_64.rpm
python3-pillow-tk-debuginfo-5.1.1-14.el8_2.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

iQIVAwUBYheuoNzjgjWX9erEAQiIbg/+It6aVSmtyyF/lTCLjow2EU5c03Kh+qcx
LI5uGgtTb0kkVAISf4MeOQLumjFOMfLDASMazsNwg7Nb94alCxOgDWANGcXi1uhb
YqVO2ZdYiGUQFxdguq+JeT4qtL72q9vIWb0wJzb70c/uI24cHLuLiHNBmZGLbxGe
jq68YCbapfrI1IB/xhSOxO1Ov+mR3kz1NZldt7vwOU/mTF2ndGlnC33SClZYtAf0
cQ3yVN6r2FJ2sH5OKGXgzhKXzK23xFc8ImFz8xgFZk+hp2d1TutiIxmwzhZrPegW
T77nm5V50kRPtnkJuMONHm1lR1JGIksGzHo1UTUM8cbcLWl3MM2a6uysH77xHwlA
N4QIucesxERHkCHG0JS3NkeezjRjkfolN9CDJ4QLbKf+w9l725O9s8M96C6aFf4b
q1SLPvOgPahdRvay/Az7DGEtP/WGZuJbfoA8seVHnhu5tbqFIzn1DnouRv4+nJHS
tTKkooksqPMaCzNGM6xhxreVkoenbW/UmujDvwuiEENmfzu5aCYS8WGJtcjA0Oyh
qytuPybkJi4Wu031etDsH+8gAhCppl8xMG1jUFg7SUqgS5XUOHP+jl+kFw6Ll7HC
q1PZpKmdMjaGxlCs87DVAQ/JhHx2OkXS/ymzWacFvof/BvHsWOoTVIeNCw1G2/3V
isl+DGIWfhs=MxqQ
-----END PGP SIGNATURE-----

--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://listman.redhat.com/mailman/listinfo/rhsa-announce

RedHat: RHSA-2022-0667:01 Important: python-pillow security update

An update for python-pillow is now available for Red Hat Enterprise Linux 8.2 Extended Update Support

Summary

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.



Summary


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

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

Package List

Red Hat Enterprise Linux AppStream EUS (v. 8.2):
Source: python-pillow-5.1.1-14.el8_2.src.rpm
aarch64: python-pillow-debuginfo-5.1.1-14.el8_2.aarch64.rpm python-pillow-debugsource-5.1.1-14.el8_2.aarch64.rpm python3-pillow-5.1.1-14.el8_2.aarch64.rpm python3-pillow-debuginfo-5.1.1-14.el8_2.aarch64.rpm python3-pillow-tk-debuginfo-5.1.1-14.el8_2.aarch64.rpm
ppc64le: python-pillow-debuginfo-5.1.1-14.el8_2.ppc64le.rpm python-pillow-debugsource-5.1.1-14.el8_2.ppc64le.rpm python3-pillow-5.1.1-14.el8_2.ppc64le.rpm python3-pillow-debuginfo-5.1.1-14.el8_2.ppc64le.rpm python3-pillow-tk-debuginfo-5.1.1-14.el8_2.ppc64le.rpm
s390x: python-pillow-debuginfo-5.1.1-14.el8_2.s390x.rpm python-pillow-debugsource-5.1.1-14.el8_2.s390x.rpm python3-pillow-5.1.1-14.el8_2.s390x.rpm python3-pillow-debuginfo-5.1.1-14.el8_2.s390x.rpm python3-pillow-tk-debuginfo-5.1.1-14.el8_2.s390x.rpm
x86_64: python-pillow-debuginfo-5.1.1-14.el8_2.x86_64.rpm python-pillow-debugsource-5.1.1-14.el8_2.x86_64.rpm python3-pillow-5.1.1-14.el8_2.x86_64.rpm python3-pillow-debuginfo-5.1.1-14.el8_2.x86_64.rpm python3-pillow-tk-debuginfo-5.1.1-14.el8_2.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/


Severity
Advisory ID: RHSA-2022:0667-01
Product: Red Hat Enterprise Linux
Advisory URL: https://access.redhat.com/errata/RHSA-2022:0667
Issued Date: : 2022-02-24
CVE Names: CVE-2022-22816 CVE-2022-22817

Topic

An update for python-pillow is now available for Red Hat Enterprise Linux8.2 Extended Update Support.Red Hat Product Security has rated this update as having a security impactof Important. A Common Vulnerability Scoring System (CVSS) base score,which gives a detailed severity rating, is available for each vulnerabilityfrom the CVE link(s) in the References section.


Topic


 

Relevant Releases Architectures

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


Bugs Fixed

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