CVE-2021-23437Out-of-bounds Read in Pillow

Severity
7.5HIGHNVD
EPSS
0.2%
top 54.55%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 3
Latest updateOct 24

Description

The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages5 packages

CVEListV5python/pillowunspecified8.3.2+1
NVDpython/pillow5.2.08.3.2
PyPIpython/pillow5.2.08.3.2+2
Debianpython/pillow< 8.1.2+dfsg-0.3+deb11u3+3
Ubuntupython/pillow< 5.1.0-1ubuntu0.8+5

Also affects: Fedora 33, 34

Patches

🔴Vulnerability Details

8
OSV
pillow vulnerability2022-10-24
OSV
pillow vulnerabilities2022-01-17
OSV
pillow vulnerabilities2022-01-13
OSV
Uncontrolled Resource Consumption in pillow2021-09-07
GHSA
Uncontrolled Resource Consumption in pillow2021-09-07

📋Vendor Advisories

5
Ubuntu
Pillow vulnerability2022-10-24
Ubuntu
Pillow vulnerabilities2022-01-17
Ubuntu
Pillow vulnerabilities2022-01-13
Red Hat
python-pillow: possible ReDoS via the getrgb function2021-09-03
Debian
CVE-2021-23437: pillow - The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression D...2021
CVE-2021-23437 — Out-of-bounds Read in Python Pillow | cvebase