Feed
7.5HIGH
CVE-2021-23437Uncontrolled Resource Consumption in pillow
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 3.2% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 3.2%
- percentile 89%
- Fix
- Named by a source
- CVE published 3 Sept 2021
Reference
None of the "Needs attention" rules apply right now.
EPSS 3.2% (+3) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- pillow (PyPI): upgrade to 8.3.2 or later on your release line.
- Patch: https://github.com/python-pillow/Pillow/commit/9e08eb8f78fdfd2f476e1b20b7cf38683754866b
Who should check
pillow (PyPI) pkg:pypi/pillow
- Affected>= 5.2.0, < 8.3.2Fixed in8.3.2OSV (GHSA-98vv-pw6r-q6q4)
- Affected< 8.3.2Fixed in8.3.2OSV (PYSEC-2021-317)
Confirmed facts
- CVSS
- 7.5 HIGH (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-98vv-pw6r-q6q4)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-125, CWE-400
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-23437
- patchhttps://github.com/python-pillow/Pillow/commit/9e08eb8f78fdfd2f476e1b20b7cf38683754866b
- advisoryhttps://github.com/advisories/GHSA-98vv-pw6r-q6q4
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-317.yaml
- otherhttps://github.com/python-pillow/Pillow
- otherhttps://lists.debian.org/debian-lts-announce/2024/03/msg00021.html
- otherhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RNSG6VFXTAROGF7ACYLMAZNQV4EJ6I2C
- otherhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VKRCL7KKAKOXCVD7M6WC5OKFGL4L3SJT
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/RNSG6VFXTAROGF7ACYLMAZNQV4EJ6I2C
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/VKRCL7KKAKOXCVD7M6WC5OKFGL4L3SJT
- otherhttps://pillow.readthedocs.io/en/stable/releasenotes/8.3.2.html
- otherhttps://security.gentoo.org/glsa/202211-10
- advisoryhttps://snyk.io/vuln/SNYK-PYTHON-PILLOW-1319443
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-98vv-pw6r-q6q4 (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2021-317 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 24 min ago · osv 24 min ago · nvd 85 min ago · epss 24 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-pillow-2021-23437, GHSA-98vv-pw6r-q6q4, PYSEC-2021-317, SNYK-PYTHON-PILLOW-1319443