Vulnerability · Published Apr 3, 2024 · Assigned by mitre
CVE-2024-28219
Medium 6.7
In plain English
A medium-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.0% (higher than 63% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.7Medium
Exploit odds (30 days)1.0%top 37.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | python3-pillow | 5.1.1-21.el8_10 | ALSA-2024:4227 |
| AlmaLinux:8 | python3-pillow-devel | 5.1.1-21.el8_10 | ALSA-2024:4227 |
| AlmaLinux:8 | python3-pillow-doc | 5.1.1-21.el8_10 | ALSA-2024:4227 |
| AlmaLinux:8 | python3-pillow-tk | 5.1.1-21.el8_10 | ALSA-2024:4227 |
| Alpine:v3.20 | py3-pillow | 10.3.0-r0 | ALPINE-CVE-2024-28219 |
| Alpine:v3.21 | py3-pillow | 10.3.0-r0 | ALPINE-CVE-2024-28219 |
| Alpine:v3.22 | py3-pillow | 10.3.0-r0 | ALPINE-CVE-2024-28219 |
| Alpine:v3.23 | py3-pillow | 10.3.0-r0 | ALPINE-CVE-2024-28219 |
| Alpine:v3.24 | py3-pillow | 10.3.0-r0 | ALPINE-CVE-2024-28219 |
| Debian:12 | pillow | 9.4.0-1.1+deb12u1 | DEBIAN-CVE-2024-28219 |
| Debian:12 | pillow | 9.4.0-1.1+deb12u1 | DSA-5704-1 |
| Debian:13 | pillow | 10.3.0-1 | DEBIAN-CVE-2024-28219 |
| Debian:14 | pillow | 10.3.0-1 | DEBIAN-CVE-2024-28219 |
| PyPI | pillow | 10.3.0 | PYSEC-2026-1793 |
| PyPI | pillow | 10.3.0 | GHSA-44wm-f244-xhp3 |
| Rocky Linux:8 | python-pillow | 0:5.1.1-21.el8_10 | RLSA-2024:4227 |
| Ubuntu:22.04:LTS | pillow | 9.0.1-1ubuntu0.3 | USN-6744-1 |
| Ubuntu:22.04:LTS | pillow | 9.0.1-1ubuntu0.3 | UBUNTU-CVE-2024-28219 |
| Ubuntu:24.04:LTS | pillow | 10.2.0-1ubuntu1 | UBUNTU-CVE-2024-28219 |
| Ubuntu:24.04:LTS | pillow | 10.2.0-1ubuntu1 | USN-6744-3 |
Affected products (as reported)
Weakness: CWE-680 · Vector: CVSS:3.1/AC:H/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:R
References
- https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html#security
- FEDORA-2024-e4b1b4eab1 vendor-advisory
- [debian-lts-announce] 20240410 [SECURITY] [DLA 3786-1] pillow security update mailing-list
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M/