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, DSA-5704-1 |
Debian Bugs | 1061172 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
pillow (PTS) | bullseye (security), bullseye | 8.1.2+dfsg-0.3+deb11u2 | fixed |
bookworm, bookworm (security) | 9.4.0-1.1+deb12u1 | fixed | |
sid, trixie | 10.4.0-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
pillow | source | buster | 5.4.1-2+deb10u4 | DLA-3724-1 | ||
pillow | source | bullseye | 8.1.2+dfsg-0.3+deb11u2 | DSA-5704-1 | ||
pillow | source | bookworm | 9.4.0-1.1+deb12u1 | DSA-5704-1 | ||
pillow | source | (unstable) | 10.2.0-1 | 1061172 |
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)