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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2022-22817US | critical9.8 | — | ||
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. | ||||
02
references
External citations — patches, advisories, analysis.
- https://lists.debian.org/debian-lts-announce/2022/01/msg00018.htmlADVISORY
- https://lists.debian.org/debian-lts-announce/2024/03/msg00021.htmlWEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-22817WEB
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-evalADVISORY
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#securityADVISORY
- https://security.gentoo.org/glsa/202211-10ADVISORY
- https://www.debian.org/security/2022/dsa-5053ADVISORY
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan