GHSA-hjfx-8p6c-g7gx

Insufficient Verification of Data Authenticity in Pillow

At a glance

Published
Updated
CVE
CVE-2021-28678
Aliases
BIT-pillow-2021-28678, PYSEC-2021-94
CVSS_V3
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS_V4
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

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 packages

PackageVersions
PyPI · pillowintroduced 5.1.0, fixed 8.2.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database