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

EcosystemPackageFixed inAdvisory
AlmaLinux:8python3-pillow5.1.1-21.el8_10ALSA-2024:4227
AlmaLinux:8python3-pillow-devel5.1.1-21.el8_10ALSA-2024:4227
AlmaLinux:8python3-pillow-doc5.1.1-21.el8_10ALSA-2024:4227
AlmaLinux:8python3-pillow-tk5.1.1-21.el8_10ALSA-2024:4227
Alpine:v3.20py3-pillow10.3.0-r0ALPINE-CVE-2024-28219
Alpine:v3.21py3-pillow10.3.0-r0ALPINE-CVE-2024-28219
Alpine:v3.22py3-pillow10.3.0-r0ALPINE-CVE-2024-28219
Alpine:v3.23py3-pillow10.3.0-r0ALPINE-CVE-2024-28219
Alpine:v3.24py3-pillow10.3.0-r0ALPINE-CVE-2024-28219
Debian:12pillow9.4.0-1.1+deb12u1DEBIAN-CVE-2024-28219
Debian:12pillow9.4.0-1.1+deb12u1DSA-5704-1
Debian:13pillow10.3.0-1DEBIAN-CVE-2024-28219
Debian:14pillow10.3.0-1DEBIAN-CVE-2024-28219
PyPIpillow10.3.0PYSEC-2026-1793
PyPIpillow10.3.0GHSA-44wm-f244-xhp3
Rocky Linux:8python-pillow0:5.1.1-21.el8_10RLSA-2024:4227
Ubuntu:22.04:LTSpillow9.0.1-1ubuntu0.3USN-6744-1
Ubuntu:22.04:LTSpillow9.0.1-1ubuntu0.3UBUNTU-CVE-2024-28219
Ubuntu:24.04:LTSpillow10.2.0-1ubuntu1UBUNTU-CVE-2024-28219
Ubuntu:24.04:LTSpillow10.2.0-1ubuntu1USN-6744-3

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-680 · Vector: CVSS:3.1/AC:H/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:R

References