critical8.1
CVE-2020-11538
Out-of-bounds read in Pillow
Impact
In libImaging/SgiRleDecode.c in Pillow through 7.0.0, a number of out-of-bounds reads exist in the parsing of SGI image files, a different issue than CVE-2020-5311.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | Pillow | < 7.1.0 | 7.1.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Python | Pillow | through 7.0.0 |
| Fedoraproject | Fedora | Versions 31, 32 |
| Canonical | Ubuntu Linux | Versions 16.04, 18.04, 20.04 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/python-pillow/Pillow/pull/4504
- https://github.com/python-pillow/Pillow/pull/4538
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427/
- https://pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html
- https://pillow.readthedocs.io/en/stable/releasenotes/index.html
- https://usn.ubuntu.com/4430-1/
- https://usn.ubuntu.com/4430-2/
- https://github.com/advisories/GHSA-43fq-w8qq-v88h
- https://nvd.nist.gov/vuln/detail/CVE-2020-11538
- https://github.com/python-pillow/Pillow/commit/2ef59fdbaeb756bc512ab3f2ad15ac45665b303d
- https://github.com/python-pillow/Pillow/blob/master/docs/releasenotes/7.1.0.rst#security
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-574574
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-80.yaml
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427
- https://usn.ubuntu.com/4430-1
- https://usn.ubuntu.com/4430-2