critical8.8
CVE-2020-5310
Integer overflow in Pillow
Impact
`libImaging/TiffDecode.c` in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | pillow | >= 0, < 6.2.2 | 6.2.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Python | Pillow | before 6.2.2 |
| Canonical | Ubuntu Linux | Versions 14.04, 16.04, 18.04, 19.10 |
| Fedoraproject | Fedora | Versions 30, 31 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/python-pillow/Pillow/commit/4e2def2539ec13e53a82e06c4b3daf00454100c4
- 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://github.com/advisories/GHSA-vcqg-3p29-xw73
- https://nvd.nist.gov/vuln/detail/CVE-2020-5310
- https://github.com/pypa/advisory-db/blob/7872b0a91b4d980f749e6d75a81f8cc1af32829f/vulns/pillow/PYSEC-2020-81.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-81.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