What’s Vulnerable › Vulnerabilities

CVE-2021-27922: Pillow Uncontrolled Resource Consumption

Description

Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for an ICNS container, and thus an attempted memory allocation can be very large.

Affected products

How to fix

Upgrade to a fixed version: python-pillow Pillow 8.1.1; Pypi Pillow 8.1.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-27922 or the next vulnerability affects your stack