What’s Vulnerable › Vulnerabilities

CVE-2021-28678: Insufficient Verification of Data Authenticity in Pillow

Description

An issue was discovered in Pillow before 8.2.0. For BLP data, BlpImagePlugin did not properly check that reads (after jumping to file offsets) returned data. This could lead to a DoS where the decoder could be run a large number of times on empty data.

Affected products

How to fix

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

References

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