CVE-2021-23437
Aliases:GHSA-98vv-pw6r-q6q4BIT-pillow-2021-23437PYSEC-2021-317SNYK-PYTHON-PILLOW-1319443
Advisory lineage Upstream: 0 Downstream: 13
Modified
Published: 03 Sept 2021, 16:10
Last modified:16 Sept 2024, 20:47
Vulnerability Summary
Overall Risk (default)
medium
40/100 CVSS Score
7.5 HIGH
v3.1 (cve.org)
EPSS Score
0.23% LOW
0% probability +0.02%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected
Timeline
03 Sept 2021, 16:10
Published
Vulnerability first disclosed
16 Sept 2024, 20:47
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v4.0•HIGH•Score: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:N/I:N/A:P
EPSS Trends
Current EPSS score: 0.23%• Percentile: 45%
Techniques & Countermeasures
- CWE-125•Out-of-bounds Read
The product reads data past the end, or before the beginning, of the intended buffer.
Affected Systems
- fedoraproject•fedora
33 | 34
- PyPI•pillow
≥ 5.2.0, < 8.3.2 | < 9e08eb8f78fdfd2f476e1b20b7cf38683754866b | < 8.3.2
- python•pillow
≥ 5.2.0, < 8.3.2
References (15)
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1319443
- https://pillow.readthedocs.io/en/stable/releasenotes/8.3.2.html
- https://github.com/python-pillow/Pillow/commit/9e08eb8f78fdfd2f476e1b20b7cf38683754866b
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VKRCL7KKAKOXCVD7M6WC5OKFGL4L3SJT/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RNSG6VFXTAROGF7ACYLMAZNQV4EJ6I2C/
- https://security.gentoo.org/glsa/202211-10
- https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-23437
- https://github.com/advisories/GHSA-98vv-pw6r-q6q4
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-317.yaml
- https://github.com/python-pillow/Pillow
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RNSG6VFXTAROGF7ACYLMAZNQV4EJ6I2C
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VKRCL7KKAKOXCVD7M6WC5OKFGL4L3SJT
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RNSG6VFXTAROGF7ACYLMAZNQV4EJ6I2C
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VKRCL7KKAKOXCVD7M6WC5OKFGL4L3SJT