PT-2021-6817 · Pillow+6 · Pillow+6
Liyuan Chen
·
Published
2021-09-03
·
Updated
2024-06-15
·
CVE-2021-23437
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Pillow versions 5.2.0 through 8.3.2
Pillow versions prior to 8.3.2
Description
The issue is related to a Regular Expression Denial of Service (ReDoS) via the
getrgb function, which can lead to uncontrolled resource consumption. This allows a remote attacker to cause a denial of service.Recommendations
For Pillow versions 5.2.0 through 8.3.2, update to a version after 8.3.2 to resolve the issue.
For Pillow versions prior to 8.3.2, update to a version after 8.3.2 to resolve the issue.
As a temporary workaround, consider disabling the
getrgb function until a patch is available.Exploit
Fix
DoS
Resource Exhaustion
Out of bounds Read
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Debian
Linuxmint
Pillow
Suse
Ubuntu