Ubuntu CVE Tracker
UBUNTU-CVE-2023-50447
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | pillow | All versions before 2.3.0-1ubuntu3.4+esm5 (fixed in 2.3.0-1ubuntu3.4+esm5) |
| Ubuntu:Pro:16.04:LTS | pillow | All versions before 3.1.2-0ubuntu1.6+esm3 (fixed in 3.1.2-0ubuntu1.6+esm3) |
| Ubuntu:Pro:18.04:LTS | pillow | All versions before 5.1.0-1ubuntu0.8+esm2 (fixed in 5.1.0-1ubuntu0.8+esm2) |
| Ubuntu:20.04:LTS | pillow | All versions before 7.0.0-4ubuntu0.8 (fixed in 7.0.0-4ubuntu0.8) |
| Ubuntu:Pro:20.04:LTS | pillow-python2 | All versions, no fix listed |
| Ubuntu:22.04:LTS | pillow | All versions before 9.0.1-1ubuntu0.2 (fixed in 9.0.1-1ubuntu0.2) |
| Ubuntu:24.04:LTS | pillow | All versions before 10.2.0-1 (fixed in 10.2.0-1) |
References
- https://ubuntu.com/security/CVE-2023-50447
- 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://devhub.checkmarx.com/cve-details/CVE-2023-50447/
- http://www.openwall.com/lists/oss-security/2024/01/20/1
- https://ubuntu.com/security/notices/USN-6618-1
- https://www.cve.org/CVERecord?id=CVE-2023-50447
- https://ubuntu.com/security/notices/USN-8135-1