Feed
6.5MEDIUM
CVE-2022-22815Improper Initialization in Pillow
A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 2.0% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 2.0%
- percentile 81%
- Fix
- Named by a source
- CVE published 10 Jan 2022
Reference
None of the "Needs attention" rules apply right now.
EPSS 2.0% (+2) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- pillow (PyPI): upgrade to 9.0.0 or later on your release line.
- Commit / pull request: https://github.com/python-pillow/Pillow/pull/5920
- Commit / pull request: https://github.com/python-pillow/Pillow/commit/1e092419b6806495c683043ab3feb6ce264f3b9c
- Commit / pull request: https://github.com/python-pillow/Pillow/commit/c48271ab354db49cdbd740bc45e13be4f0f7993c
Who should check
pillow (PyPI) pkg:pypi/pillow
- Affected< 9.0.0Fixed in9.0.0OSV (PYSEC-2022-8)
Confirmed facts
- CVSS
- 6.5 MEDIUM (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-pw3c-h7wp-cvhx)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-665
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)Pillow is the friendly PIL (Python Imaging Library) fork. `path_getbbox` in `path.c` in Pillow before 9.0.0 improperly initializes `ImagePath.Path`.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-22815
- commit / pull requesthttps://github.com/python-pillow/Pillow/pull/5920
- commit / pull requesthttps://github.com/python-pillow/Pillow/commit/1e092419b6806495c683043ab3feb6ce264f3b9c
- commit / pull requesthttps://github.com/python-pillow/Pillow/commit/c48271ab354db49cdbd740bc45e13be4f0f7993c
- advisoryhttps://github.com/advisories/GHSA-pw3c-h7wp-cvhx
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-8.yaml
- otherhttps://github.com/python-pillow/Pillow
- otherhttps://github.com/python-pillow/Pillow/blob/c5d9223a8b5e9295d15b5a9b1ef1dae44c8499f3/src/path.c#L331
- otherhttps://github.com/python-pillow/Pillow/blob/e8ab5640774716c5486d3cb05167f74f742ad6ef/CHANGES.rst?plain=1#L1187
- otherhttps://lists.debian.org/debian-lts-announce/2022/01/msg00018.html
- otherhttps://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#fixed-imagepath-path-array-handling
- otherhttps://www.debian.org/security/2022/dsa-5053
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-pw3c-h7wp-cvhx (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2022-8 (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-22815, GHSA-pw3c-h7wp-cvhx, PYSEC-2022-8