cbcvebase.
CVE-2022-22817
published 2022-01-10

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…

critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
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.

Affected

25 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debiandebian_linux
debiandebian_linux
debianpillow< pillow 9.4.0-1.1+deb12u1 (bookworm)pillow 9.4.0-1.1+deb12u1 (bookworm)
debianpillow< pillow 9.0.0-1 (bookworm)pillow 9.0.0-1 (bookworm)
paloaltopan-os
pythonpillow< 9.0.19.0.1
pythonpillow<= 10.1.0
pythonpillow>= 0 < 8.1.2+dfsg-0.3+deb11u28.1.2+dfsg-0.3+deb11u2
pythonpillow>= 0 < 8.1.2+dfsg-0.3+deb11u18.1.2+dfsg-0.3+deb11u1
pythonpillow>= 0 < 9.4.0-1.1+deb12u19.4.0-1.1+deb12u1
pythonpillow>= 0 < 9.0.0-19.0.0-1
pythonpillow>= 0 < 10.2.0-110.2.0-1
pythonpillow>= 0 < 9.0.0-19.0.0-1
pythonpillow>= 0 < 10.2.0-110.2.0-1
pythonpillow>= 0 < 9.0.0-19.0.0-1
pythonpillow>= 0 < 9.0.19.0.1
pythonpillow>= 0 < 10.2.010.2.0
pythonpillow>= 0 < 9.0.09.0.0
pythonpillow>= 0 < 5.1.0-1ubuntu0.85.1.0-1ubuntu0.8
pythonpillow>= 0 < 5.1.0-1ubuntu0.75.1.0-1ubuntu0.7
pythonpillow>= 0 < 7.0.0-4ubuntu0.67.0.0-4ubuntu0.6
pythonpillow>= 0 < 7.0.0-4ubuntu0.57.0.0-4ubuntu0.5
pythonpillow>= 0 < 2.3.0-1ubuntu3.4+esm32.3.0-1ubuntu3.4+esm3
pythonpillow>= 0 < 3.1.2-0ubuntu1.6+esm13.1.2-0ubuntu1.6+esm1

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
ghsa9.8CRITICAL
osv9.8CRITICAL