Bug 1982378 (CVE-2021-34552) - CVE-2021-34552 python-pillow: Buffer overflow in image convert function
Summary: CVE-2021-34552 python-pillow: Buffer overflow in image convert function
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-34552
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1982379 1982380 1982381 1982382 1987269
Blocks: 1982383
TreeView+ depends on / blocked
 
Reported: 2021-07-14 18:15 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-11-09 17:24 UTC (History)
9 users (show)

Fixed In Version: python-pillow 8.3.0
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in python-pillow. This flaw allows an attacker to pass controlled parameters directly into a convert function, triggering a buffer overflow in the "convert()" or "ImagingConvertTransparent()" functions in Convert.c. The highest threat to this vulnerability is to system availability. In Red Hat Quay, a vulnerable version of python-pillow is shipped with quay-registry-container, however the invoice generation feature which uses python-pillow is disabled by default. Therefore impact has been rated Moderate.
Clone Of:
Environment:
Last Closed: 2021-10-19 14:09:23 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:3917 0 None None None 2021-10-19 12:11:18 UTC
Red Hat Product Errata RHSA-2021:4149 0 None None None 2021-11-09 17:24:51 UTC

Description Guilherme de Almeida Suckevicz 2021-07-14 18:15:56 UTC
Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.

Reference:
https://pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html#buffer-overflow

Comment 1 Guilherme de Almeida Suckevicz 2021-07-14 18:16:31 UTC
Created mingw-python-pillow tracking bugs for this issue:

Affects: fedora-all [bug 1982379]


Created python-pillow tracking bugs for this issue:

Affects: fedora-all [bug 1982380]


Created python2-pillow tracking bugs for this issue:

Affects: fedora-all [bug 1982381]


Created python3-pillow tracking bugs for this issue:

Affects: epel-7 [bug 1982382]

Comment 8 errata-xmlrpc 2021-10-19 12:11:16 UTC
This issue has been addressed in the following products:

  Red Hat Quay 3

Via RHSA-2021:3917 https://access.redhat.com/errata/RHSA-2021:3917

Comment 9 Product Security DevOps Team 2021-10-19 14:09:23 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-34552

Comment 10 Yadnyawalk Tale 2021-11-09 05:56:10 UTC
(Updating satellite hotfix)

Comment 11 errata-xmlrpc 2021-11-09 17:24:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:4149 https://access.redhat.com/errata/RHSA-2021:4149


Note You need to log in before you can comment on or make changes to this bug.