critical9.8
CVE-2020-5311
Buffer Copy without Checking Size of Input in Pillow
Impact
`libImaging/SgiRleDecode.c` in Pillow before 6.2.2 has an SGI buffer overflow.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | pillow | <= 6.2.1 | 6.2.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Python | Pillow | before 6.2.2 |
| Canonical | Ubuntu Linux | Versions 18.04, 19.10 |
| Debian | Debian Linux | Versions 9.0, 10.0 |
| Fedoraproject | Fedora | Versions 30, 31 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/errata/RHSA-2020:0566
- https://access.redhat.com/errata/RHSA-2020:0580
- https://github.com/python-pillow/Pillow/commit/a79b65c47c7dc6fe623aadf09aa6192fc54548f3
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/
- https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html
- https://usn.ubuntu.com/4272-1/
- https://www.debian.org/security/2020/dsa-4631
- https://github.com/advisories/GHSA-r7rm-8j6h-r933
- https://nvd.nist.gov/vuln/detail/CVE-2020-5311
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-82.yaml
- 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://usn.ubuntu.com/4272-1