Vulnerability · Published Nov 3, 2023 · Assigned by mitre
CVE-2023-44271
High 7.5
In plain English
A high-severity security flaw in the python3-pillow package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.4%top 28.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
An issue was discovered in Pillow before 10.0.0. It is a Denial of Service that uncontrollably allocates memory to process a given task, potentially causing a service to crash by having it run out of memory. This occurs for truetype in ImageFont when textlength in an ImageDraw instance operates on a long text argument.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | python3-pillow | 5.1.1-20.el8 | ALSA-2024:3005 |
| AlmaLinux:8 | python3-pillow-devel | 5.1.1-20.el8 | ALSA-2024:3005 |
| AlmaLinux:8 | python3-pillow-doc | 5.1.1-20.el8 | ALSA-2024:3005 |
| AlmaLinux:8 | python3-pillow-tk | 5.1.1-20.el8 | ALSA-2024:3005 |
| Debian:12 | pillow | 9.4.0-1.1+deb12u1 | DSA-5704-1 |
| Debian:12 | pillow | 9.4.0-1.1+deb12u1 | DEBIAN-CVE-2023-44271 |
| Debian:13 | pillow | 10.0.0-1 | DEBIAN-CVE-2023-44271 |
| Debian:14 | pillow | 10.0.0-1 | DEBIAN-CVE-2023-44271 |
| PyPI | pillow | 10.0.0 | GHSA-8ghj-p4vj-mr35 |
| PyPI | pillow | 10.0.0 | PYSEC-2023-227 |
| Rocky Linux:8 | python-pillow | 0:5.1.1-20.el8 | RLSA-2024:3005 |
| Ubuntu:22.04:LTS | pillow | 9.0.1-1ubuntu0.2 | USN-6618-1 |
| Ubuntu:22.04:LTS | pillow | 9.0.1-1ubuntu0.2 | UBUNTU-CVE-2023-44271 |
Affected products (as reported)
References
- https://github.com/python-pillow/Pillow/pull/7244
- https://github.com/python-pillow/Pillow/commit/1fe1bb49c452b0318cad12ea9d97c3bef188e9a7
- https://devhub.checkmarx.com/cve-details/CVE-2023-44271/
- FEDORA-2023-1a120657f9 vendor-advisory
- [debian-lts-announce] 20240322 [SECURITY] [DLA 3768-1] pillow security update mailing-list