Arbitrary Expression Evaluation Vulnerability in PIL.ImageMath.eval

Arbitrary Expression Evaluation Vulnerability in PIL.ImageMath.eval

CVE-2022-22817 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Web Application Penetration Testing UK.