CVE-2022-24303
CRITICAL9.1EPSS 2.2%Path traversal in Pillow
Published: 3/11/2022Modified: 4/28/2026
Description
Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.
Affected packages (5)
- Alpine/py3-pillowfrom 0, < 8.4.0-r3
- Bitnami/pillowfrom 0, < 9.0.1
- Debian/pillowfrom 0, < 8.1.2+dfsg-0.3+deb11u3
- PyPI/pillowfrom 0, < 9.0.1
- PyPI/pillowfrom 0, < 9.0.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
References (18)
- ADVISORYhttps://github.com/advisories/GHSA-9j59-75qj-795w
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-24303
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2022-24303
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-24303
- PATCHhttps://github.com/python-pillow/Pillow
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-168.yaml
- WEBhttps://github.com/python-pillow/Pillow/blob/e8ab5640774716c5486d3cb05167f74f742ad6ef/CHANGES.rst?plain=1#L1172
- WEBhttps://github.com/python-pillow/Pillow/commit/10c4f75aaa383bd9671e923e3b91d391ea12d781
- WEBhttps://github.com/python-pillow/Pillow/commit/143032103c9f2d55a0a7960bd3e630cb72549e8a
- WEBhttps://github.com/python-pillow/Pillow/commit/427221ef5f19157001bf8b1ad7cfe0b905ca8c26
- WEBhttps://github.com/python-pillow/Pillow/pull/3450
- WEBhttps://github.com/python-pillow/Pillow/pull/6010
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W4ZUXPKEX72O3E5IHBPVY5ZCPMJ4GHHV/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XR6UP2XONXOVXI4446VY72R63YRO2YTP/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/W4ZUXPKEX72O3E5IHBPVY5ZCPMJ4GHHV
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/XR6UP2XONXOVXI4446VY72R63YRO2YTP
- WEBhttps://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security
- WEBhttps://security.gentoo.org/glsa/202211-10