CVE-2020-10378
python-pillow: an out-of-bounds read in libImaging/PcxDecode.c can occur when reading PCX files
Overview
Description
In libImaging/PcxDecode.c in Pillow before 7.1.0, an out-of-bounds read can occur when reading PCX files where state->shuffle is instructed to read beyond state->buffer.
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Weakness: CWE-125
Affected packages · 2
Operating systems · 12 fixes
Red Hat 2 releases · 1 package
affected 2
python-pillow
| Release | Package | Fixed in |
|---|---|---|
| 7 | python-pillow +5 | affected |
| 8 | python-pillow +4 | affected |
debian 5 releases · 1 package
fixed 5
pillow
| Release | Package | Fixed in |
|---|---|---|
| 10 | pillow | 5.4.1-2+deb10u2 |
| 11 | pillow | 7.2.0-1 |
| 12 | pillow | 7.2.0-1 |
| 13 | pillow | 7.2.0-1 |
| 14 | pillow | 7.2.0-1 |
echo 1 release · 1 package
fixed 1
pillow
| Release | Package | Fixed in |
|---|---|---|
| pillow | 7.2.0-1 |
ubuntu 4 releases · 1 package
fixed 4
pillow
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | pillow | 5.1.0-1ubuntu0.3 |
| 18.04-ESM | pillow | 5.1.0-1ubuntu0.3 |
| 20.04 | pillow | 7.0.0-4ubuntu0.1 |
| 20.04-ESM | pillow | 7.0.0-4ubuntu0.1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-10378
- github.com https://github.com/advisories/GHSA-3xv8-3j54-hgrp
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-77.yaml
- github.com https://github.com/pypa/advisory-db/blob/7872b0a91b4d980f749e6d75a81f8cc1af32829f/vulns/pillow/PYSEC-2020-77.yaml
- github.com https://github.com/python-pillow/Pillow
- github.com https://github.com/python-pillow/Pillow/commit/124f4bb591e16212605d0e41c413ed53e242cba2
- github.com https://github.com/python-pillow/Pillow/commit/6a83e4324738bb0452fbe8074a995b1c73f08de7#diff-9478f2787e3ae9668a15123b165c23ac
- github.com https://github.com/python-pillow/Pillow/commits/master/src/libImaging
- github.com https://github.com/python-pillow/Pillow/issues/4750
- github.com https://github.com/python-pillow/Pillow/pull/4538
Show all 24 references
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-10378
- pillow.readthedocs.io https://pillow.readthedocs.io/en/stable/releasenotes/6.2.3.html
- pillow.readthedocs.io https://pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html
- ubuntu.com https://ubuntu.com/security/notices/USN-4430-1
- ubuntu.com https://ubuntu.com/security/notices/USN-4430-2
- usn.ubuntu.com https://usn.ubuntu.com/4430-1
- usn.ubuntu.com https://usn.ubuntu.com/4430-1/
- usn.ubuntu.com https://usn.ubuntu.com/4430-2
- usn.ubuntu.com https://usn.ubuntu.com/4430-2/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-10378
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.