ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2022-22817

Details

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 packages

EcosystemPackageAffected versions
Ubuntu:18.04:LTSpillow
All versions before 5.1.0-1ubuntu0.8 (fixed in 5.1.0-1ubuntu0.8)
Ubuntu:20.04:LTSpillow
All versions before 7.0.0-4ubuntu0.6 (fixed in 7.0.0-4ubuntu0.6)
Ubuntu:Pro:20.04:LTSpillow-python2
All versions, no fix listed

References