CVE-2022-24303 Path traversal in Pillow
Attackers can delete arbitrary files by exploiting mishandled spaces in temporary pathnames within the Pillow image processing library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-24303?
CVE-2022-24303 is a critical path traversal vulnerability in Fedoraproject Fedora, published on 28 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.
Which versions are affected by CVE-2022-24303?
4 open source packages ship an affected version, including pillow and Pillow. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
pillow Bitnami | All versions | 9.0.1 |
pillow PyPI | All versions | 9.0.1 |
pillow PyPI | All versions | 9.0.1 |
Pillow PyPI | All versions | 9.0.1 |
Products include Fedoraproject Fedora, Python Pillow.
How do I fix CVE-2022-24303?
Upgrade pillow to 9.0.1 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-24303 being exploited?
There is no known exploitation of CVE-2022-24303 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as ALPINE-CVE-2022-24303, BIT-pillow-2022-24303, DEBIAN-CVE-2022-24303, GHSA-9j59-75qj-795w, OESA-2022-1540, OESA-2022-2086 and 3 more.