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

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

Synopsis:          Important: python-pillow security update
Advisory ID:       RHSA-2022:0665-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2022:0665
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.4 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.4) - 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.4):

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

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

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

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

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

iQIVAwUBYheu7tzjgjWX9erEAQi5IxAAgFp/m2pY3jeJcbSbHY+nfmeNgqmpF9+J
pC1UoNdXm4SUfly0ytXEy60JDxzVOX6eZ/UbLP04Ct/4+uyruKGER7BOnxRY0PWE
y5bSviOzh2cnpWggUrhLdipAolneTPf1YYmqy2jhqmDvrNmK/y3h7l2TLa9nJRuT
UPTnf9orpktHd7fso1SjOpAiTMo01Mi+CsIq5t4hXfC6/AXGyb1ESlsmSXTvKkWe
RAuIkCrR+haqELgR1WGv5s1gwqnvXCO/e6vTdzlKsFafMmiab6lOaXti3Q/ejUnx
k+evYfcHHUerU1zXCTpXHoitfnG4bY4VU26TO65r54p1K1jHXhyviWFMMs/JfWPD
aYCz/j7NDN1dW23wINCbyMzagkyfYxJuPrymlvIVICANtXHhQ2bcE5TwnVghNN/m
epzR6a1xlCx/YWmQ+4QrLcF8v81QwVd4xKZS93k4I80Jk8B+MbCixXY3kowJfYoh
BgLmeLsm+P9XIuJ7bvd5KFw4iv3GUAe8FvctfN8gnGM/7uXcIpxeq6IJqJhTKTJZ
kXGOVl8D+R2yxkAB7khtAsfNVSpNtASyo82FH0OyLGQCJUjejOyWDSl4DxaONNXb
RqEBQWWYL0NZ5Vw2c64YLfUo/jMogIPuM8cn8bXii+IWhQ+3GTV6uo8r191u3QkT
EhkVwnYIPSA=/+Ub
-----END PGP SIGNATURE-----

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

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

An update for python-pillow is now available for Red Hat Enterprise Linux 8.4 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.4):
Source: python-pillow-5.1.1-14.el8_4.src.rpm
aarch64: python-pillow-debuginfo-5.1.1-14.el8_4.aarch64.rpm python-pillow-debugsource-5.1.1-14.el8_4.aarch64.rpm python3-pillow-5.1.1-14.el8_4.aarch64.rpm python3-pillow-debuginfo-5.1.1-14.el8_4.aarch64.rpm python3-pillow-tk-debuginfo-5.1.1-14.el8_4.aarch64.rpm
ppc64le: python-pillow-debuginfo-5.1.1-14.el8_4.ppc64le.rpm python-pillow-debugsource-5.1.1-14.el8_4.ppc64le.rpm python3-pillow-5.1.1-14.el8_4.ppc64le.rpm python3-pillow-debuginfo-5.1.1-14.el8_4.ppc64le.rpm python3-pillow-tk-debuginfo-5.1.1-14.el8_4.ppc64le.rpm
s390x: python-pillow-debuginfo-5.1.1-14.el8_4.s390x.rpm python-pillow-debugsource-5.1.1-14.el8_4.s390x.rpm python3-pillow-5.1.1-14.el8_4.s390x.rpm python3-pillow-debuginfo-5.1.1-14.el8_4.s390x.rpm python3-pillow-tk-debuginfo-5.1.1-14.el8_4.s390x.rpm
x86_64: python-pillow-debuginfo-5.1.1-14.el8_4.x86_64.rpm python-pillow-debugsource-5.1.1-14.el8_4.x86_64.rpm python3-pillow-5.1.1-14.el8_4.x86_64.rpm python3-pillow-debuginfo-5.1.1-14.el8_4.x86_64.rpm python3-pillow-tk-debuginfo-5.1.1-14.el8_4.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:0665-01
Product: Red Hat Enterprise Linux
Advisory URL: https://access.redhat.com/errata/RHSA-2022:0665
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.4 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.4) - 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


Related News