CVE-2023-50447
HIGH8.1EPSS 0.75%Arbitrary Code Execution in Pillow
Published: 1/19/2024Modified: 4/28/2026
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).
Affected packages (4)
- Bitnami/pillowfrom 0, < 10.1.1
- Debian/pillowfrom 0, < 8.1.2+dfsg-0.3+deb11u2
- Debian/pillowfrom 0, < 5.4.1-2+deb10u4
- PyPI/pillowfrom 0, < 10.2.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (14)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-50447
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-50447
- PATCHhttps://github.com/python-pillow/Pillow
- WEBhttps://devhub.checkmarx.com/cve-details/CVE-2023-50447
- WEBhttps://devhub.checkmarx.com/cve-details/CVE-2023-50447/
- WEBhttps://duartecsantos.github.io/2023-01-02-CVE-2023-50447
- WEBhttps://duartecsantos.github.io/2023-01-02-CVE-2023-50447/
- WEBhttps://duartecsantos.github.io/2024-01-02-CVE-2023-50447
- WEBhttps://duartecsantos.github.io/2024-01-02-CVE-2023-50447/
- WEBhttps://github.com/python-pillow/Pillow/commit/45c726fd4daa63236a8f3653530f297dc87b160a
- WEBhttps://github.com/python-pillow/Pillow/releases
- WEBhttps://lists.debian.org/debian-lts-announce/2024/01/msg00019.html
- WEBhttps://pillow.readthedocs.io/en/stable/releasenotes/10.2.0.html#security
- WEBhttp://www.openwall.com/lists/oss-security/2024/01/20/1