CVE-2023-50447: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
(updated )
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).
References
- www.openwall.com/lists/oss-security/2024/01/20/1
- devhub.checkmarx.com/cve-details/CVE-2023-50447/
- duartecsantos.github.io/2023-01-02-CVE-2023-50447/
- github.com/advisories/GHSA-3f63-hfp8-52jq
- github.com/python-pillow/Pillow/commit/45c726fd4daa63236a8f3653530f297dc87b160a
- nvd.nist.gov/vuln/detail/CVE-2023-50447
- pillow.readthedocs.io/en/stable/releasenotes/10.2.0.html
Detect and mitigate CVE-2023-50447 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →