CVE-2021-23437
HIGHCVSS 7.5/10EPSS 2.88%
Last modified
CVE-2021-23437 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.. EPSS estimates a 2.88% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Python | Pillow | >= 5.2.0, < 8.3.2 |
| Fedoraproject | Fedora | 33 |
| Fedoraproject | Fedora | 34 |
References
- https://github.com/python-pillow/Pillow/commit/9e08eb8f78fdfd2f476e1b20b7cf38683754866bPatch, Third Party Advisory
- https://pillow.readthedocs.io/en/stable/releasenotes/8.3.2.htmlRelease Notes, Vendor Advisory
- https://security.gentoo.org/glsa/202211-10Third Party Advisory
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1319443Exploit, Patch, Release Notes, Third Party Advisory
- https://github.com/python-pillow/Pillow/commit/9e08eb8f78fdfd2f476e1b20b7cf38683754866bPatch, Third Party Advisory
- https://pillow.readthedocs.io/en/stable/releasenotes/8.3.2.htmlRelease Notes, Vendor Advisory
- https://security.gentoo.org/glsa/202211-10Third Party Advisory
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1319443Exploit, Patch, Release Notes, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is 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.
How severe is CVE-2021-23437?
CVE-2021-23437 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 2.88% probability of exploitation in the next 30 days.
How do I fix CVE-2021-23437?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-23431The package joplin before 2.3.2 are vulnerable to Cross-site…8.8
- CVE-2021-23432This affects all versions of package mootools. This is due t…9.8
- CVE-2021-23433The package algoliasearch-helper before 3.6.2 are vulnerable…9.8
- CVE-2021-23434This affects the package object-path before 0.11.6. A type c…8.6
- CVE-2021-23435This affects the package clearance before 2.5.0. The vulnera…6.1
- CVE-2021-23436This affects the package immer before 9.0.6. A type confusio…9.8
- CVE-2021-23438This affects the package mpath before 0.8.4. A type confusio…9.8
- CVE-2021-23439This affects the package file-upload-with-preview before 4.2…6.1
- CVE-2021-2344Vulnerability in the Oracle Coherence product of Oracle Fusi…7.5
- CVE-2021-23440This affects the package set-value before <2.0.1, >=3.0.0 <4…9.8
- CVE-2021-23441Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-23442This affects all versions of package @cookiex/deep. The glob…9.8
Are you affected by CVE-2021-23437?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
