—
PYSEC-2021-42
Quick fix
PYSEC-2021-42 — pillow: upgrade to the fixed version with the command below.
pip install --upgrade 'pillow>=8.1.1'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 an ICO container, and thus an attempted memory allocation can be very large.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TQQY6472RX4J2SUJENWDZAWKTJJGP2ML/[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZTSY25UJU7NJUFHH3HWT575LT4TDFWBZ/[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S7G44Z33J4BNI2DPDROHWGVG2U7ZH5JU/[WEB]
- https://github.com/advisories/GHSA-95q3-8gr9-gm8w[ADVISORY]