← Back to CVEs
CVE-2022-22817
CRITICAL9.8
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.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published1/10/2022
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
debian:debian_linuxpython:pillow
References
https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval(cve@mitre.org)
https://security.gentoo.org/glsa/202211-10(cve@mitre.org)
https://www.debian.org/security/2022/dsa-5053(cve@mitre.org)
https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html(af854a3a-2127-422b-91ae-364da2661108)
https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html(af854a3a-2127-422b-91ae-364da2661108)
https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval(af854a3a-2127-422b-91ae-364da2661108)
https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security(af854a3a-2127-422b-91ae-364da2661108)
https://security.gentoo.org/glsa/202211-10(af854a3a-2127-422b-91ae-364da2661108)
https://www.debian.org/security/2022/dsa-5053(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.