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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
EPSS: 0.032 (86.7th percentile) — read the EPSS interpretation.
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.
Affected products
- Python Pillow
- Fedoraproject Fedora — versions 32, 33, 34
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (vendor-advisory)
- cve@mitre.org (vendor-advisory)
- cve@mitre.org (vendor-advisory)
- cve@mitre.org (vendor-advisory, Third Party Advisory)
- cve@mitre.org
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108 (Release Notes, Vendor Advisory)
Frequently asked questions
- What is CVE-2021-27921?
- CVE-2021-27921 is a high-severity vulnerability in Python Pillow, classified under Improper Input Validation. CVSS score: 7.5/10. Published 2021-03-03.
- How severe is CVE-2021-27921?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2021-27921 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.