CVE-2022-24303

NameCVE-2022-24303
DescriptionPillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pillow (PTS)buster, buster (security)5.4.1-2+deb10u3vulnerable
bullseye (security), bullseye8.1.2+dfsg-0.3+deb11u1vulnerable
bookworm, sid9.4.0-1.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pillowsourcestretch(not affected)
pillowsource(unstable)9.0.1-1

Notes

[bullseye] - pillow <ignored> (Minor issue)
[buster] - pillow <ignored> (Minor issue)
[stretch] - pillow <not-affected> (Vulnerable code introduced later)
https://bugzilla.redhat.com/show_bug.cgi?id=2052682
https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security
https://github.com/python-pillow/Pillow/commit/427221ef5f19157001bf8b1ad7cfe0b905ca8c26 (9.0.1)

Search for package or bug name: Reporting problems