Feed
9.1CRITICAL
CVE-2022-24303Path traversal in Pillow
A critical-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 2.4% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 2.4%
- percentile 85%
- Fix
- Named by a source
- CVE published 28 Mar 2022
Reference
None of the "Needs attention" rules apply right now.
EPSS 2.4% (+2) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- pillow (PyPI): upgrade to 9.0.1 or later on your release line.
- Commit / pull request: https://github.com/python-pillow/Pillow/pull/3450
- Commit / pull request: https://github.com/python-pillow/Pillow/pull/6010
- Commit / pull request: https://github.com/python-pillow/Pillow/commit/10c4f75aaa383bd9671e923e3b91d391ea12d781
- Commit / pull request: https://github.com/python-pillow/Pillow/commit/143032103c9f2d55a0a7960bd3e630cb72549e8a
Who should check
pillow (PyPI) pkg:pypi/pillow
- Affected< 9.0.1Fixed in9.0.1OSV (PYSEC-2022-168)
Confirmed facts
- CVSS
- 9.1 CRITICAL (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-9j59-75qj-795w)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-22
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-24303
- commit / pull requesthttps://github.com/python-pillow/Pillow/pull/3450
- commit / pull requesthttps://github.com/python-pillow/Pillow/pull/6010
- commit / pull requesthttps://github.com/python-pillow/Pillow/commit/10c4f75aaa383bd9671e923e3b91d391ea12d781
- commit / pull requesthttps://github.com/python-pillow/Pillow/commit/143032103c9f2d55a0a7960bd3e630cb72549e8a
- commit / pull requesthttps://github.com/python-pillow/Pillow/commit/427221ef5f19157001bf8b1ad7cfe0b905ca8c26
- advisoryhttps://github.com/advisories/GHSA-9j59-75qj-795w
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-168.yaml
- otherhttps://github.com/python-pillow/Pillow
- otherhttps://github.com/python-pillow/Pillow/blob/e8ab5640774716c5486d3cb05167f74f742ad6ef/CHANGES.rst?plain=1#L1172
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/W4ZUXPKEX72O3E5IHBPVY5ZCPMJ4GHHV
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/XR6UP2XONXOVXI4446VY72R63YRO2YTP
- otherhttps://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security
- otherhttps://security.gentoo.org/glsa/202211-10
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-9j59-75qj-795w (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2022-168 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 28 min ago · osv 28 min ago · nvd 89 min ago · epss 28 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-pillow-2022-24303, GHSA-9j59-75qj-795w, PYSEC-2022-168