VDB
Sign up
—

PYSEC-2021-94

Quick fix

PYSEC-2021-94 — pillow: upgrade to the fixed version with the command below.

pip install --upgrade 'pillow>=8.2.0'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/pillow
Introduced in: 0Fixed in: 8.2.0
Fixpip install --upgrade 'pillow>=8.2.0'

References