CVE-2020-5311
python-pillow: out-of-bounds write in expandrow in libImaging/SgiRleDecode.c
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Bitnami. Rated lower by Red Hat (high), Oracle (high), Ubuntu (medium).
Description
libImaging/SgiRleDecode.c in Pillow before 6.2.2 has an SGI buffer overflow.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | pillow | 6.2.2 |
| pip::GitHub Security Advisory pip | pillow | 6.2.2 |
| alpine 3.12 | py3-pillow | 6.2.2-r0 |
| alpine 3.13 | py3-pillow | 6.2.2-r0 |
| alpine 3.14 | py3-pillow | 6.2.2-r0 |
| alpine 3.15 | py3-pillow | 6.2.2-r0 |
| alpine 3.16 | py3-pillow | 6.2.2-r0 |
| alpine 3.17 | py3-pillow | 6.2.2-r0 |
| alpine 3.18 | py3-pillow | 6.2.2-r0 |
| alpine 3.19 | py3-pillow | 6.2.2-r0 |
| alpine 3.20 | py3-pillow | 6.2.2-r0 |
| alpine 3.21 | py3-pillow | 6.2.2-r0 |
Show all 26 entries from 26 sources
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | pillow | 6.2.2 |
| pip::GitHub Security Advisory pip | pillow | 6.2.2 |
| alpine 3.12 | py3-pillow | 6.2.2-r0 |
| alpine 3.13 | py3-pillow | 6.2.2-r0 |
| alpine 3.14 | py3-pillow | 6.2.2-r0 |
| alpine 3.15 | py3-pillow | 6.2.2-r0 |
| alpine 3.16 | py3-pillow | 6.2.2-r0 |
| alpine 3.17 | py3-pillow | 6.2.2-r0 |
| alpine 3.18 | py3-pillow | 6.2.2-r0 |
| alpine 3.19 | py3-pillow | 6.2.2-r0 |
| alpine 3.20 | py3-pillow | 6.2.2-r0 |
| alpine 3.21 | py3-pillow | 6.2.2-r0 |
| alpine 3.22 | py3-pillow | 6.2.2-r0 |
| alpine 3.23 | py3-pillow | 6.2.2-r0 |
| alpine 3.24 | py3-pillow | 6.2.2-r0 |
| alpine edge | py3-pillow | 6.2.2-r0 |
| debian 10 | pillow | 5.4.1-2+deb10u1 |
| debian 11 | pillow | 7.0.0-1 |
| debian 12 | pillow | 7.0.0-1 |
| debian 13 | pillow | 7.0.0-1 |
| debian 14 | pillow | 7.0.0-1 |
| echo | pillow | 7.0.0-1 |
| Oracle Linux 8 | python3-pillow | 5.1.1-10.el8_1 |
| ubuntu 18.04 | pillow | 5.1.0-1ubuntu0.2 |
| ubuntu 18.04-ESM | pillow | 5.1.0-1ubuntu0.2 |
| ubuntu 19.10 | pillow | 6.1.0-1ubuntu0.2 |
References
- https://access.redhat.com/errata/RHSA-2020:0566
- https://access.redhat.com/errata/RHSA-2020:0580
- https://access.redhat.com/security/cve/CVE-2020-5311
- https://github.com/advisories/GHSA-r7rm-8j6h-r933
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-82.yaml
- https://github.com/python-pillow/Pillow
- https://github.com/python-pillow/Pillow/commit/a79b65c47c7dc6fe623aadf09aa6192fc54548f3
- https://linux.oracle.com/cve/CVE-2020-5311.html
All 20 references
- https://linux.oracle.com/errata/ELSA-2020-0580.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/
- https://nvd.nist.gov/vuln/detail/CVE-2020-5311
- https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html
- https://ubuntu.com/security/notices/USN-4272-1
- https://usn.ubuntu.com/4272-1
- https://usn.ubuntu.com/4272-1/
- https://www.cve.org/CVERecord?id=CVE-2020-5311
- https://www.debian.org/security/2020/dsa-4631