GHSA-f4w8-cv6p-x6r5

Pillow Denial of Service by Uncontrolled Resource Consumption

At a glance

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

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 a BLP container, and thus an attempted memory allocation can be very large.

Affected packages

PackageVersions
PyPI · pillowintroduced 0, fixed 8.1.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database