Paper/Archive/CVE-2022-22817

CVE-2022-22817

mitre — PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method.

Description · from the CVE record

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

ProductAffectedFixed inSource
n/an/a–CNA

Scores by source

CISA ADP9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refpillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-evalreflists.debian.org/debian-lts-announce/2022/01/msg00018.htmladvisorydebian.org/security/2022/dsa-5053refpillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#securityadvisorysecurity.gentoo.org/glsa/202211-10reflists.debian.org/debian-lts-announce/2024/03/msg00021.html