
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-27922 affects Pillow versions before 8.1.1, a Python image processing library. The vulnerability was discovered and disclosed in March 2021, where attackers could cause a denial of service through memory consumption. The issue specifically occurs because the reported size of a contained image is not properly checked for an ICNS container, which could lead to very large memory allocation attempts (NVD).
The vulnerability has been assigned a CVSS v3.1 Base Score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The technical root cause stems from improper input validation (CWE-20) where the software fails to properly validate the size of contained images in ICNS containers before attempting memory allocation (NVD).
When exploited, this vulnerability can lead to denial of service conditions through excessive memory consumption. The impact is particularly severe as it affects the availability of systems using the Pillow library to process ICNS images, potentially causing application crashes or system resource exhaustion (NVD).
The vulnerability is remotely exploitable and requires low attack complexity with no privileges or user interaction needed, as indicated by the CVSS vector string. An attacker can trigger the vulnerability by providing specially crafted ICNS images that exploit the improper size validation (NVD).
The vulnerability was fixed in Pillow version 8.1.1. Users and administrators are strongly advised to upgrade to this version or later. Multiple distributions have released security updates, including Fedora and Gentoo. Fedora released updates for versions 32, 33, and 34, while Gentoo addressed this in version 8.2.0 (Gentoo Advisory, Pillow Release).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."