Pillow through 10.1.0 allows PIL.ImageMath.eval Arbitrary Code Execution via the environment parameter, a different vulnerability than CVE-2022-22817 (which was about the expression parameter).
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").
Link | Tags |
---|---|
https://github.com/python-pillow/Pillow/releases | release notes |
https://devhub.checkmarx.com/cve-details/CVE-2023-50447/ | third party advisory |
http://www.openwall.com/lists/oss-security/2024/01/20/1 | third party advisory mailing list |
https://lists.debian.org/debian-lts-announce/2024/01/msg00019.html | third party advisory mailing list |
https://duartecsantos.github.io/2024-01-02-CVE-2023-50447/ |