CVE-2020-5312
python-pillow: improperly restricted operations on memory buffer in libImaging/PcxDecode.c
Overview
Description
libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-120
Affected packages · 2
Operating systems · 18 fixes
Oracle Linux 2 releases · 2 packages
fixed 2
python-pillow
python3-pillow
| Release | Package | Fixed in |
|---|---|---|
| 7 | python-pillow +5 | 2.0.0-20.gitd1c6db8.el7_7 |
| 8 | python3-pillow | 5.1.1-10.el8_1 |
Red Hat 2 releases · 2 packages
fixed 3
python-pillow
python3-pillow
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | python-pillow +5 | 0:2.0.0-20.gitd1c6db8.el7_7 | RHSA-2020:0578 |
| 8 | python3-pillow | 0:5.1.1-10.el8_0 | RHSA-2020:0566 |
| 8 | python3-pillow | 0:5.1.1-10.el8_1 | RHSA-2020:0580 |
alpine 4 releases · 1 package
fixed 4
py3-pillow
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | py3-pillow | 6.2.2-r0 |
| 3.23 | py3-pillow | 6.2.2-r0 |
| 3.24 | py3-pillow | 6.2.2-r0 |
| edge | py3-pillow | 6.2.2-r0 |
debian 6 releases · 1 package
fixed 6
pillow
| Release | Package | Fixed in |
|---|---|---|
| 10 | pillow | 5.4.1-2+deb10u1 |
| 11 | pillow | 7.0.0-1 |
| 12 | pillow | 7.0.0-1 |
| 13 | pillow | 7.0.0-1 |
| 14 | pillow | 7.0.0-1 |
| 9 | pillow | 4.0.0-4+deb9u1 |
echo 1 release · 1 package
fixed 1
pillow
| Release | Package | Fixed in |
|---|---|---|
| pillow | 7.0.0-1 |
ubuntu 2 releases · 1 package
fixed 2
pillow
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | pillow | 5.1.0-1ubuntu0.2 |
| 18.04-ESM | pillow | 5.1.0-1ubuntu0.2 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2020:0566
- access.redhat.com https://access.redhat.com/errata/RHSA-2020:0578
- access.redhat.com https://access.redhat.com/errata/RHSA-2020:0580
- access.redhat.com https://access.redhat.com/errata/RHSA-2020:0681
- access.redhat.com https://access.redhat.com/errata/RHSA-2020:0683
- access.redhat.com https://access.redhat.com/errata/RHSA-2020:0694
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-5312
- github.com https://github.com/advisories/GHSA-p49h-hjvm-jg3h
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-83.yaml
- github.com https://github.com/pypa/advisory-db/blob/7872b0a91b4d980f749e6d75a81f8cc1af32829f/vulns/pillow/PYSEC-2020-83.yaml
Show all 25 references
- github.com https://github.com/python-pillow/Pillow
- github.com https://github.com/python-pillow/Pillow/commit/93b22b846e0269ee9594ff71a72bec02d2bea8fd
- linux.oracle.com https://linux.oracle.com/cve/CVE-2020-5312.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2020-0898.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-5312
- pillow.readthedocs.io https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html
- ubuntu.com https://ubuntu.com/security/notices/USN-4272-1
- usn.ubuntu.com https://usn.ubuntu.com/4272-1
- usn.ubuntu.com https://usn.ubuntu.com/4272-1/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-5312
- www.debian.org https://www.debian.org/security/2020/dsa-4631
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.