Red Hat 9041 Published by

A python-pillow security update has been released for Red Hat Enterprise Linux 8.



RHSA-2022:0643-01: Important: python-pillow security update



=====================================================================
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.