{"id":"CVE-2021-23437","published":"2021-09-03T16:10:10Z","modified":"2024-09-16T20:47:41Z","title":"Regular Expression Denial of Service (ReDoS)","vendor":null,"product":null,"tier":"tail","description":{"text":"The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0324,"percentile":0.88596,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1319443","tags":[]},{"url":"https://pillow.readthedocs.io/en/stable/releasenotes/8.3.2.html","tags":[]},{"url":"https://github.com/python-pillow/Pillow/commit/9e08eb8f78fdfd2f476e1b20b7cf38683754866b","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VKRCL7KKAKOXCVD7M6WC5OKFGL4L3SJT/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RNSG6VFXTAROGF7ACYLMAZNQV4EJ6I2C/","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202211-10","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html","tags":["mailing-list"]}],"priority":{"score":23.0,"factors":[{"name":"EPSS percentile","points":17.72},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"Pillow","versions":["< unspecified",">= unspecified, < 8.3.2"]}],"affected":[{"ecosystem":"PyPI","package":"pillow","vulnerableRanges":[">=5.2.0, <8.3.2","<8.3.2"],"patched":["8.3.2"],"from":["GHSA-98vv-pw6r-q6q4","PYSEC-2021-317"],"provenance":"source"}],"summary":{"text":"The Pillow Python imaging library, versions 5.2.0 through 8.3.2, contains a Regular Expression Denial of Service (ReDoS) flaw in its getrgb function. A remote attacker with no privileges or user interaction and network access can supply crafted input to cause excessive resource consumption and availability loss.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:40:48Z"},"euvd":{"id":"EUVD-2021-0170","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-28676","published":"2021-06-02","fixed":"8.2.0","kev":false},{"cve":"CVE-2021-28677","published":"2021-06-02","fixed":"8.2.0","kev":false},{"cve":"CVE-2021-34552","published":"2021-07-13","fixed":"8.3.0","kev":false,"link":{"from":"CVE-2021-34552","to":"CVE-2021-23437","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pillow","fromFixed":"8.3.0","toFixed":"8.3.2","daysApart":52}]}},{"cve":"CVE-2021-23437","published":"2021-09-03","fixed":"8.3.2","kev":false},{"cve":"CVE-2022-22815","published":"2022-01-07","fixed":"9.0.0","kev":false},{"cve":"CVE-2022-22816","published":"2022-01-07","fixed":"9.0.0","kev":false},{"cve":"CVE-2022-22817","published":"2022-01-07","fixed":"9.0.1","kev":false}],"package":"PyPI:pillow"}}