CVE-2022-24303
Aliases:GHSA-9j59-75qj-795wBIT-pillow-2022-24303PYSEC-2022-168
Advisory lineage Upstream: 0 Downstream: 8
Modified
Published: 28 Mar 2022, 00:00
Last modified:03 Aug 2024, 04:07
Vulnerability Summary
Overall Risk (default)
high
70/100 CVSS Score
9.1 CRITICAL
v3.1 (nvd)
EPSS Score
2.2% LOW
2% probability +0.82%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
28 Mar 2022, 00:00
Published
Vulnerability first disclosed
03 Aug 2024, 04:07
Last Modified
Vulnerability information updated
Description
Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.
CVSS Metrics
- v4.0•HIGH•Score: 8.8CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
- v3.1•CRITICAL•Score: 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- v2.0•MEDIUM•Score: 6.4AV:N/AC:L/Au:N/C:N/I:P/A:P
EPSS Trends
Current EPSS score: 2.20%• Percentile: 85%
Affected Systems
- fedoraproject•fedora
34 | 35
- PyPI•pillow
< 9.0.1
- python•pillow
< 9.0.1
References (16)
- https://github.com/python-pillow/Pillow/pull/3450
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W4ZUXPKEX72O3E5IHBPVY5ZCPMJ4GHHV/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XR6UP2XONXOVXI4446VY72R63YRO2YTP/
- https://security.gentoo.org/glsa/202211-10
- https://nvd.nist.gov/vuln/detail/CVE-2022-24303
- 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/commit/427221ef5f19157001bf8b1ad7cfe0b905ca8c26
- https://github.com/advisories/GHSA-9j59-75qj-795w
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-168.yaml
- https://github.com/python-pillow/Pillow
- https://github.com/python-pillow/Pillow/blob/e8ab5640774716c5486d3cb05167f74f742ad6ef/CHANGES.rst?plain=1#L1172
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W4ZUXPKEX72O3E5IHBPVY5ZCPMJ4GHHV
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XR6UP2XONXOVXI4446VY72R63YRO2YTP