Vulnerability · Published Mar 28, 2022 · Assigned by mitre
CVE-2022-24303
Critical 9.1
In plain English
A critical-severity security flaw in the py3-pillow package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.7% (higher than 86% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.1Critical
Exploit odds (30 days)2.7%top 14.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | py3-pillow | 9.0.1-r0 | ALPINE-CVE-2022-24303 |
| Alpine:v3.21 | py3-pillow | 9.0.1-r0 | ALPINE-CVE-2022-24303 |
| Alpine:v3.22 | py3-pillow | 9.0.1-r0 | ALPINE-CVE-2022-24303 |
| Alpine:v3.23 | py3-pillow | 9.0.1-r0 | ALPINE-CVE-2022-24303 |
| Alpine:v3.24 | py3-pillow | 9.0.1-r0 | ALPINE-CVE-2022-24303 |
| Debian:12 | pillow | 9.0.1-1 | DEBIAN-CVE-2022-24303 |
| Debian:13 | pillow | 9.0.1-1 | DEBIAN-CVE-2022-24303 |
| Debian:14 | pillow | 9.0.1-1 | DEBIAN-CVE-2022-24303 |
| PyPI | pillow | 9.0.1 | PYSEC-2022-168 |
| PyPI | pillow | 9.0.1 | GHSA-9j59-75qj-795w |
| Ubuntu:22.04:LTS | pillow | 9.0.1-1ubuntu0.1 | USN-5777-1 |
Affected products (as reported)
References
- https://github.com/python-pillow/Pillow/pull/3450
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security
- FEDORA-2022-ee15b98ea1 vendor-advisory
- FEDORA-2022-64332f2a7c vendor-advisory
- GLSA-202211-10 vendor-advisory