CVE-2021-23437
7.5high
Regular Expression Denial of Service (ReDoS)
- Severity
- 7.5high CVSS:3.1 by snyk
- Exploit likelihood
- 3.24% (higher than 88% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-98vv-pw6r-q6q4BIT-PILLOW-2021-23437PYSEC-2021-317SNYK-PYTHON-PILLOW-1319443
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Pillow | before unspecified, from unspecified before 8.3.2 | CVE List |
| pillow (PyPI) | from 5.2.0 before 8.3.2, before 9e08eb8f78fdfd2f476e1b20b7cf38683754866b, before 8.3.2 | GitHub Advisory Database, PyPA Advisory Database |
| python pillow | from 5.2.0 before 8.3.2 | NVD |
| fedoraproject fedora | 33, 34 | NVD |
| pillow (Bitnami) | from 5.2.0 before 8.3.2 | Bitnami Vulnerability Database |
All scores
| snyk | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.
NVD (es)
El paquete pillow versiones desde la versión 5.2.0 y anteriores a 8.3.2, son vulnerables a una Denegación de Servicio por Expresión Regular (ReDoS) por medio de la función getrgb
PyPA Advisory Database
The package pillow from 0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23437 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-98vv-pw6r-q6q4 changed 2024-10-09 | CC-BY-4.0 |
| NVD | CVE-2021-23437 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2021-317 changed 2023-12-06 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-PILLOW-2021-23437 changed 2026-09-08 | Apache-2.0 |