GitHub Advisory Database
GHSA-j7mj-748x-7p78
DOS attack in Pillow when processing specially crafted image files
Details
An issue was discovered in Pillow before 6.2.0. When reading specially crafted invalid image files, the library can either allocate very large amounts of memory or take an extremely long period of time to process the image.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | pillow | All versions before 6.2.0 (fixed in 6.2.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-16865
- https://github.com/python-pillow/Pillow/issues/4123
- https://github.com/python-pillow/Pillow/commit/ab52630d0644e42a75eb88b78b9a9d7438a6fbeb
- https://www.debian.org/security/2020/dsa-4631
- https://usn.ubuntu.com/4272-1
- https://ubuntu.com/security/notices/USN-4272-1
- https://pillow.readthedocs.io/en/latest/releasenotes/6.2.0.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LYDXD7EE4YAEVSTNIFZKNVPRVJX5ZOG3
- https://lists.fedoraproject.org/archives/list/[email protected]/message/EMJBUZQGQ2Q7HXYCQVRLU7OXNC7CAWWU
- https://github.com/python-pillow/Pillow
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2019-110.yaml
- https://github.com/advisories/GHSA-j7mj-748x-7p78
- https://access.redhat.com/errata/RHSA-2020:0694
- https://access.redhat.com/errata/RHSA-2020:0683
- https://access.redhat.com/errata/RHSA-2020:0681
- https://access.redhat.com/errata/RHSA-2020:0580
- https://access.redhat.com/errata/RHSA-2020:0578
- https://access.redhat.com/errata/RHSA-2020:0566