Bug 2001907 (CVE-2021-23437)

Summary: CVE-2021-23437 python-pillow: possible ReDoS via the getrgb function
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bdettelb, cstratak, manisandro, orion, paul, python-maint, saroy, torsava
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-pillow 8.3.2 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in python-pillow, where a Regular Expression Denial of Service (ReDoS) via the getrgb function occurs. The highest threat from this vulnerability is to system availability.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2001908, 2001909, 2001910, 2001911, 2011717    
Bug Blocks: 2011540    

Description Marian Rehak 2021-09-07 12:28:29 UTC
A possible Regular Expression Denial of Service (ReDoS) via the getrgb function.

External Reference:

https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1319443

Comment 1 Marian Rehak 2021-09-07 12:29:41 UTC
Created mingw-python-pillow tracking bugs for this issue:

Affects: fedora-all [bug 2001908]


Created python-pillow tracking bugs for this issue:

Affects: fedora-all [bug 2001909]


Created python2-pillow tracking bugs for this issue:

Affects: fedora-all [bug 2001910]


Created python3-pillow tracking bugs for this issue:

Affects: epel-7 [bug 2001911]

Comment 2 Sandro Mani 2021-09-13 06:36:25 UTC
Affects python-pillow < 8.3.2

Fix: https://github.com/python-pillow/Pillow/commit/9e08eb8f78fdfd2f476e1b20b7cf38683754866b