Vulnerability · Published Jan 19, 2024 · Assigned by mitre

CVE-2023-50447

High 8.1

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.7% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)1.7%top 22.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Pillow through 10.1.0 allows PIL.ImageMath.eval Arbitrary Code Execution via the environment parameter, a different vulnerability than CVE-2022-22817 (which was about the expression parameter).

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8python3-pillow5.1.1-18.el8_9.1.alma.1ALSA-2024:0893
AlmaLinux:8python3-pillow-devel5.1.1-18.el8_9.1.alma.1ALSA-2024:0893
AlmaLinux:8python3-pillow-doc5.1.1-18.el8_9.1.alma.1ALSA-2024:0893
AlmaLinux:8python3-pillow-tk5.1.1-18.el8_9.1.alma.1ALSA-2024:0893
Alpine:v3.20py3-pillow10.2.0-r0ALPINE-CVE-2023-50447
Alpine:v3.21py3-pillow10.2.0-r0ALPINE-CVE-2023-50447
Alpine:v3.22py3-pillow10.2.0-r0ALPINE-CVE-2023-50447
Alpine:v3.23py3-pillow10.2.0-r0ALPINE-CVE-2023-50447
Alpine:v3.24py3-pillow10.2.0-r0ALPINE-CVE-2023-50447
Debian:12pillow9.4.0-1.1+deb12u1DSA-5704-1
Debian:12pillow9.4.0-1.1+deb12u1DEBIAN-CVE-2023-50447
Debian:13pillow10.2.0-1DEBIAN-CVE-2023-50447
Debian:14pillow10.2.0-1DEBIAN-CVE-2023-50447
PyPIpillow10.2.0GHSA-3f63-hfp8-52jq
PyPIpillow10.2.0PYSEC-2026-457
Ubuntu:22.04:LTSpillow9.0.1-1ubuntu0.2USN-6618-1
Ubuntu:22.04:LTSpillow9.0.1-1ubuntu0.2UBUNTU-CVE-2023-50447
Ubuntu:24.04:LTSpillow10.2.0-1UBUNTU-CVE-2023-50447

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-95 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References