Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Python | Pillow | < 9.0.1 |
| Debian | Debian Linux | 9.0 |
References
- https://lists.debian.org/debian-lts-announce/2022/01/msg00018.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtinRelease NotesVendor Advisory
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#securityRelease NotesVendor Advisory
- https://security.gentoo.org/glsa/202211-10Third Party Advisory
- https://www.debian.org/security/2022/dsa-5053Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/01/msg00018.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtinRelease NotesVendor Advisory
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#securityRelease NotesVendor Advisory
- https://security.gentoo.org/glsa/202211-10Third Party Advisory
- https://www.debian.org/security/2022/dsa-5053Third Party Advisory
FAQ
What is CVE-2022-22817?
CVE-2022-22817 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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.
How severe is CVE-2022-22817?
CVE-2022-22817 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2022-22817?
Check the references section above for vendor advisories and patch information. Affected products include: Python Pillow, Debian Debian Linux.