Out-of-bounds Read in Python Pillow
CVE-2021-23437
The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.
Vulnerability class: Buffer Overflow
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.032, 88.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python Pillow
- Fedoraproject Fedora — versions 33, 34
- Pillow — versions 0, unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 8 other repositories (arneso-ssb/py-r-vul-examples, ARPSyndicate/cvemon, engn33r/awesome-redos-security, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- snyk.io/vuln/SNYK-PYTHON-PILLOW-1319443 (Exploit, Patch, Third Party Advisory, Release Notes)
- pillow.readthedocs.io/en/stable/releasenotes/8.3.2.html (Release Notes, Vendor Advisory)
- github.com/python-pillow/Pillow/commit/9e08eb8f78fdfd2f476e1b20b7cf38683754866b (Patch, Third Party Advisory)
- FEDORA-2021-9f020cf155 (vendor-advisory)
- FEDORA-2021-cbfaefb390 (vendor-advisory)
- GLSA-202211-10 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20240322 [SECURITY] [DLA 3768-1] pillow security update (mailing-list)