CVE-2021-23437
JSON

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 packageVersionsReported by
Pillowbefore unspecified, from unspecified before 8.3.2CVE List
pillow (PyPI)from 5.2.0 before 8.3.2, before 9e08eb8f78fdfd2f476e1b20b7cf38683754866b, before 8.3.2GitHub Advisory Database, PyPA Advisory Database
python pillowfrom 5.2.0 before 8.3.2NVD
fedoraproject fedora33, 34NVD
pillow (Bitnami)from 5.2.0 before 8.3.2Bitnami Vulnerability Database

All scores

snyk7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P
Bitnami Vulnerability Databasehigh 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

https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1319443advisory, exploit, patch, release-notes, third-party-advisory, web
https://pillow.readthedocs.io/en/stable/releasenotes/8.3.2.htmladvisory, release-notes, vendor-advisory, web
https://github.com/python-pillow/Pillow/commit/9e08eb8f78fdfd2f476e1b20b7cf38683754866badvisory, fix, patch, third-party-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VKRCL7KKAKOXCVD7M6WC5OKFGL4L3SJT/vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RNSG6VFXTAROGF7ACYLMAZNQV4EJ6I2C/vendor-advisory, web
https://security.gentoo.org/glsa/202211-10advisory, third-party-advisory, vendor-advisory, web
https://lists.debian.org/debian-lts-announce/2024/03/msg00021.htmlmailing-list, web
https://nvd.nist.gov/vuln/detail/CVE-2021-23437advisory, web
https://github.com/advisories/GHSA-98vv-pw6r-q6q4advisory
https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-317.yamlweb
https://github.com/python-pillow/Pillowpackage
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RNSG6VFXTAROGF7ACYLMAZNQV4EJ6I2Cweb

Sources

SourceRecordLicence
CVE ListCVE-2021-23437 changed 2024-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-98vv-pw6r-q6q4 changed 2024-10-09CC-BY-4.0
NVDCVE-2021-23437 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2021-317 changed 2023-12-06CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-PILLOW-2021-23437 changed 2026-09-08Apache-2.0