{"id":"CVE-2022-24303","details":"Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.","aliases":["BIT-pillow-2022-24303","GHSA-9j59-75qj-795w","PYSEC-2022-168"],"modified":"2026-03-15T14:46:45.637128Z","published":"2022-03-28T02:15:07.140Z","related":["MGASA-2022-0166","openSUSE-SU-2024:11814-1","openSUSE-SU-2025:14645-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W4ZUXPKEX72O3E5IHBPVY5ZCPMJ4GHHV/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XR6UP2XONXOVXI4446VY72R63YRO2YTP/"},{"type":"ADVISORY","url":"https://github.com/python-pillow/Pillow/pull/3450"},{"type":"ADVISORY","url":"https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202211-10"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python-pillow/pillow","events":[{"introduced":"0"},{"fixed":"6deac9e3a23caffbfdd75c00d3f0a1cd36cdbd5d"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"9.0.1"}]}}],"versions":["1.0","1.2","1.7.6","1.7.7","1.7.8","2.0.0","2.1.0","2.2.0","2.2.1","2.2.2","2.3.0","2.5.0","2.6.0","2.6.0-rc1","2.7.0","2.8.0","2.8.1","2.9.0","2.9.0.dev0","2.9.0.dev1","2.9.0.dev2","3.0.0","3.1.0","3.1.0-rc1","3.2.0","3.3.0","3.3.1","3.4.0","4.0.0","4.0.0a","4.1.0","4.2.0","4.3.0","5.0.0","5.1.0","5.2.0","5.3.0","5.4.0","6.0.0","6.1.0","6.2.0","7.0.0","7.1.0","7.2.0","8.0.0","8.1.0","8.2.0","8.3.0","8.4.0","9.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24303.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"34"}]},{"events":[{"introduced":"0"},{"last_affected":"35"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"}]}