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.
Link | Tags |
---|---|
https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval | release notes vendor advisory |
https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html | third party advisory mailing list |
https://www.debian.org/security/2022/dsa-5053 | third party advisory vendor advisory |
https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security | release notes vendor advisory |
https://security.gentoo.org/glsa/202211-10 | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html | mailing list |