CVE-2022-24303
python-pillow: temporary directory with a space character allows removal of unrelated file after im.show() and related actions
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 3, 2022
Updated · June 28, 2026
Description
A flaw was found in python-pillow. The vulnerability occurs due to the not validated remove operation, leading to Improper input validation. This flaw allows an attacker to externally-influenced input commands that modify or remove the intended command.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
CWE-1173 · Improper Use of Validation Framework