Improper input validation in Python Pillow
CVE-2021-27921
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.032, 88.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Python Pillow
- Fedoraproject Fedora — versions 32, 33, 34
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (asa1997/topgear_test). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- FEDORA-2021-0ece308612 (vendor-advisory)
- FEDORA-2021-15845d3abe (vendor-advisory)
- FEDORA-2021-9016a9b7bd (vendor-advisory)
- GLSA-202107-33 (vendor-advisory, Third Party Advisory)
- pillow.readthedocs.io/en/stable/releasenotes/8.1.2.html
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html (Release Notes, Vendor Advisory)