Vulnerability in Python Pillow

CVE-2022-22817

PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method. A lambda expression could also be used.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.036, 89.6th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Public exploits and proof-of-concept code

2 public repositories with exploit or proof-of-concept code for this CVE:

Also mentioned in 6 other repositories (ARPSyndicate/cvemon, CPester05/Exploits, NaInSec/CVE-LIST, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References