#VU69497 Input validation error in Pillow - CVE-2022-24303
Published: November 22, 2022
Vulnerability identifier: #VU69497
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2022-24303
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
Pillow
Pillow
Software vendor:
Alex Clark and Contributors
Alex Clark and Contributors
Description
The vulnerability allows a remote attacker to delete arbitrary files on the system.
The
vulnerability exists due to input validation error when processing
spaces in path to the temporary directory on Linux or macOS. A remote attacker can pass a specially crafted file to the application and delete arbitrary files on the system.
Remediation
Install updates from vendor's website.
External links
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security
- https://github.com/python-pillow/Pillow/pull/3450
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W4ZUXPKEX72O3E5IHBPVY5ZCPMJ4GHHV/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XR6UP2XONXOVXI4446VY72R63YRO2YTP/