VDB
CVE-2022-24303
CVE-2022-24303
PUBLISHED
CVSS 9.100000381469727 CRITICAL
Path traversal in Pillow
Reported by mitre · Published March 28, 2022
Pillow is fixed in 9.0.1 (PyPI)
Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Pillow | PyPI | 9.0.1 |
| pillow | Bitnami | 9.0.1 |
| py3-pillow | Alpine | 9.0.1-r0, 8.4.0-r3 |
| pillow | python | 9.0.1 |
Risk scores
CVSS 3.1
9.100000381469727
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | Pillow | 0 |
| alpine | py3-pillow | 0, 0 |
| n/a | n/a | * |
Timeline
- Mar 11, 2022 CVE Published
- Mar 28, 2022 EPSS Score (30 in total, the first dated here)
- Oct 14, 2024 CVE Updated
- Mar 9, 2026 Security Advisory (3 in total, the first dated here)
- Jul 4, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-24303
vulnetix vdb fixes CVE-2022-24303
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-24303/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2022-ee15b98ea1 vendor-advisory
- FEDORA-2022-64332f2a7c vendor-advisory
- GLSA-202211-10 vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-24303 advisory
- https://github.com/advisories/GHSA-9j59-75qj-795w advisory
- https://github.com/python-pillow/Pillow/pull/6010 patch
- https://github.com/python-pillow/Pillow/commit/10c4f75aaa383bd9671e923e3b91d391ea12d781 patch
- https://github.com/python-pillow/Pillow/commit/143032103c9f2d55a0a7960bd3e630cb72549e8a patch
- https://github.com/python-pillow/Pillow/commit/427221ef5f19157001bf8b1ad7cfe0b905ca8c26 patch
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-168.yaml advisory
- https://github.com/python-pillow/Pillow url
- https://github.com/python-pillow/Pillow/blob/e8ab5640774716c5486d3cb05167f74f742ad6ef/CHANGES.rst?plain=1#L1172 url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W4ZUXPKEX72O3E5IHBPVY5ZCPMJ4GHHV url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XR6UP2XONXOVXI4446VY72R63YRO2YTP url