RCE in Python Pillow
CVE-2023-50447
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).
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.017, 77.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python Pillow
- Debian Linux — versions 10.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (katherineh123/temp-vuln-analysis, NVIDIA-AI-Blueprints/vulnerability-analysis, Swapnilalone901/vna). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/python-pillow/Pillow/releases (Release Notes)
- devhub.checkmarx.com/cve-details/CVE-2023-50447/ (Third Party Advisory)
- [oss-security] 20240120 Pillow 10.2.0 released, fixes CVE-2023-50447 (mailing-list, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20240129 [SECURITY] [DLA 3724-1] pillow security update (mailing-list, Mailing List, Third Party Advisory)
- duartecsantos.github.io/2024-01-02-CVE-2023-50447/