PyPA Advisory Database
PYSEC-2021-40
Details
Pillow before 8.1.1 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for a BLP container, and thus an attempted memory allocation can be very large.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | pillow | All versions before 8.1.1 (fixed in 8.1.1) |
References
- https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TQQY6472RX4J2SUJENWDZAWKTJJGP2ML/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZTSY25UJU7NJUFHH3HWT575LT4TDFWBZ/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/S7G44Z33J4BNI2DPDROHWGVG2U7ZH5JU/
- https://github.com/advisories/GHSA-f4w8-cv6p-x6r5