Name | CVE-2023-50447 |
Description | 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). |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3724-1, ELA-1059-1 |
Debian Bugs | 1061172 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
pillow (PTS) | jessie, jessie (lts) | 2.6.1-2+deb8u10 | fixed |
| stretch (security) | 4.0.0-4+deb9u4 | vulnerable |
| stretch (lts), stretch | 4.0.0-4+deb9u6 | fixed |
| buster | 5.4.1-2+deb10u3 | vulnerable |
| buster (security) | 5.4.1-2+deb10u6 | fixed |
| bullseye (security), bullseye | 8.1.2+dfsg-0.3+deb11u1 | vulnerable |
| bookworm | 9.4.0-1.1 | vulnerable |
| sid, trixie | 10.3.0-2 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://duartecsantos.github.io/2023-01-02-CVE-2023-50447/
https://pillow.readthedocs.io/en/stable/releasenotes/10.2.0.html#imagemath-eval-restricted-environment-keys
https://github.com/python-pillow/Pillow/commit/45c726fd4daa63236a8f3653530f297dc87b160a (10.2.0)
https://github.com/python-pillow/Pillow/commit/0ca3c33c59927e1c7e0c14dbc1eea1dfb2431a80 (10.2.0)
https://github.com/python-pillow/Pillow/commit/557ba59d13de919d04b3fd4cdef8634f7d4b3348 (10.2.0)