CVE-2020-5311
python-pillow: out-of-bounds write in expandrow in libImaging/SgiRleDecode.c
Overview
Description
libImaging/SgiRleDecode.c in Pillow before 6.2.2 has an SGI 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 · 15 fixes
Oracle Linux 1 release · 1 package
fixed 1
python3-pillow
| Release | Package | Fixed in |
|---|---|---|
| 8 | python3-pillow | 5.1.1-10.el8_1 |
Red Hat 1 release · 1 package
fixed 2
python3-pillow
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 5 releases · 1 package
fixed 5
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 |
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:0580
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-5311
- github.com https://github.com/advisories/GHSA-r7rm-8j6h-r933
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-82.yaml
- github.com https://github.com/python-pillow/Pillow
- github.com https://github.com/python-pillow/Pillow/commit/a79b65c47c7dc6fe623aadf09aa6192fc54548f3
- linux.oracle.com https://linux.oracle.com/cve/CVE-2020-5311.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2020-0580.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/
Show all 20 references
- 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-5311
- 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-5311
- 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.