CVE-2022-24303
JSON

9.1critical

Path traversal in Pillow

Severity
9.1critical CVSS:3.1 by NVD
Exploit likelihood
2.69% (higher than 86% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-9j59-75qj-795wBIT-PILLOW-2022-24303PYSEC-2022-168

Description

Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
pillow (PyPI)before 9.0.1GitHub Advisory Database, PyPA Advisory Database
python pillowbefore 9.0.1NVD
fedoraproject fedora34, 35NVD
pillow (Bitnami)before 9.0.1Bitnami Vulnerability Database

All scores

GitHub9.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
NVD6.4medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:P/A:P
Bitnami Vulnerability Databasecritical rating

Classification

What each source says

CVE List

Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.

NVD (es)

Pillow versiones anteriores a 9.0.1, permite a atacantes eliminar archivos porque los espacios en los nombres de rutas temporales son manejados inapropiadamente

References

https://github.com/python-pillow/Pillow/pull/3450advisory, third-party-advisory, web
https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#securityadvisory, release-notes, vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W4ZUXPKEX72O3E5IHBPVY5ZCPMJ4GHHV/vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XR6UP2XONXOVXI4446VY72R63YRO2YTP/vendor-advisory, web
https://security.gentoo.org/glsa/202211-10advisory, third-party-advisory, vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2022-24303advisory, web
https://github.com/python-pillow/Pillow/pull/6010web
https://github.com/python-pillow/Pillow/commit/10c4f75aaa383bd9671e923e3b91d391ea12d781web
https://github.com/python-pillow/Pillow/commit/143032103c9f2d55a0a7960bd3e630cb72549e8aweb
https://github.com/python-pillow/Pillow/commit/427221ef5f19157001bf8b1ad7cfe0b905ca8c26web
https://github.com/advisories/GHSA-9j59-75qj-795wadvisory
https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-168.yamlweb

Sources

SourceRecordLicence
CVE ListCVE-2022-24303 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-9j59-75qj-795w changed 2024-10-14CC-BY-4.0
NVDCVE-2022-24303 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2022-168 changed 2023-12-06CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-PILLOW-2022-24303 changed 2026-09-08Apache-2.0