python-pillow/pillow · Security
Path traversal in Pillow
- GHSA ID
- GHSA-9j59-75qj-795w
- CVE ID
- CVE-2022-24303
- Severity
- high
- Published
- Updated
- CVSS
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- CVSS v3
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- CVSS v4
- 8.8 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Description
Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-24303 ↗
- https://github.com/python-pillow/Pillow/commit/427221ef5f19157001bf8b1ad7cfe0b905ca8c26 ↗
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-168.yaml ↗
- https://security.gentoo.org/glsa/202211-10 ↗
- https://github.com/python-pillow/Pillow/pull/6010 ↗
- https://github.com/python-pillow/Pillow/commit/10c4f75aaa383bd9671e923e3b91d391ea12d781 ↗
- https://github.com/python-pillow/Pillow/commit/143032103c9f2d55a0a7960bd3e630cb72549e8a ↗
- https://github.com/python-pillow/Pillow/blob/e8ab5640774716c5486d3cb05167f74f742ad6ef/CHANGES.rst?plain=1#L1172 ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/W4ZUXPKEX72O3E5IHBPVY5ZCPMJ4GHHV ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XR6UP2XONXOVXI4446VY72R63YRO2YTP ↗
- https://github.com/python-pillow/Pillow/pull/3450 ↗
- https://github.com/advisories/GHSA-9j59-75qj-795w ↗