Bug 1852832 (CVE-2020-10378) - CVE-2020-10378 python-pillow: an out-of-bounds read in libImaging/PcxDecode.c can occur when reading PCX files
Summary: CVE-2020-10378 python-pillow: an out-of-bounds read in libImaging/PcxDecode.c...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-10378
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1852833 1852835 1854903 1854904
Blocks: 1852831
TreeView+ depends on / blocked
 
Reported: 2020-07-01 12:06 UTC by Marian Rehak
Modified: 2021-06-24 12:20 UTC (History)
8 users (show)

Fixed In Version: python-pillow 7.1.0
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in python-pillow. In libImaging/PcxDecode.c, an out-of-bounds read occurs when reading PCX files where state->shuffle is instructed to read beyond state->buffer.
Clone Of:
Environment:
Last Closed: 2021-02-04 20:42:08 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:0420 0 None None None 2021-02-04 16:14:45 UTC

Description Marian Rehak 2020-07-01 12:06:21 UTC
In libImaging/PcxDecode.c in Pillow before 6.2.3 and 7.x before 7.0.1, an out-of-bounds read can occur when reading PCX files where state->shuffle is instructed to read beyond state->buffer.

Pull Request:

https://github.com/python-pillow/Pillow/pull/4538

Upstream Advisory:

https://pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html

Upstream Advisory:

https://pillow.readthedocs.io/en/stable/releasenotes/6.2.3.html

Comment 1 Marian Rehak 2020-07-01 12:06:56 UTC
Created python-pillow tracking bugs for this issue:

Affects: fedora-31 [bug 1852833]
Affects: fedora-32 [bug 1852835]

Comment 6 errata-xmlrpc 2021-02-04 16:14:44 UTC
This issue has been addressed in the following products:

  Red Hat Quay 3

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

Comment 7 Product Security DevOps Team 2021-02-04 20:42:08 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-2020-10378


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