CVE-2022-22817

Name
CVE-2022-22817
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval
MLIST https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html
DEBIAN https://www.debian.org/security/2022/dsa-5053
CONFIRM https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security
GENTOO https://security.gentoo.org/glsa/202211-10
cve@mitre.org https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* pillow >= None < 9.0.0
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* pillow >= None < 9.0.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
py3-pillow 3.15-main 8.4.0-r3 Fabian Affolter <fabian@affolter-engineering.ch> fixed