CVE-2022-22817Published Jan 7, 2022 · Jan 7Updated Oct 28
Arbitrary expression injection in Pillow
Critical9.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| pillow PyPI |
|
|
Original description
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.
From the CVE record · mitre