CVE-2022-22815
Aliases:GHSA-pw3c-h7wp-cvhxBIT-pillow-2022-22815PYSEC-2022-8
Advisory lineage Upstream: 0 Downstream: 12
Modified
Published: 07 Jan 2022, 00:00
Last modified:03 Aug 2024, 03:21
Vulnerability Summary
Overall Risk (default)
medium
26/100 CVSS Score
6.5 MEDIUM
v3.1 (nvd)
EPSS Score
0.1% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
07 Jan 2022, 00:00
Published
Vulnerability first disclosed
03 Aug 2024, 03:21
Last Modified
Vulnerability information updated
Description
path_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path.
CVSS Metrics
- v4.0•MEDIUM•Score: 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
- v3.1•MEDIUM•Score: 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- v2.0•MEDIUM•Score: 6.4AV:N/AC:L/Au:N/C:N/I:P/A:P
EPSS Trends
Current EPSS score: 0.10%• Percentile: 26%
Techniques & Countermeasures
- CWE-665•Improper Initialization
The product does not initialize or incorrectly initializes a resource, which might leave the resource in an unexpected state when it is accessed or used.
Affected Systems
- debian•debian_linux
9.0 | 10.0 | 11.0
- PyPI•pillow
< 9.0.0
- python•pillow
< 9.0.0
References (13)
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#fixed-imagepath-path-array-handling
- https://github.com/python-pillow/Pillow/blob/c5d9223a8b5e9295d15b5a9b1ef1dae44c8499f3/src/path.c#L331
- https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html
- https://www.debian.org/security/2022/dsa-5053
- https://security.gentoo.org/glsa/202211-10
- https://nvd.nist.gov/vuln/detail/CVE-2022-22815
- https://github.com/python-pillow/Pillow/pull/5920
- https://github.com/python-pillow/Pillow/commit/1e092419b6806495c683043ab3feb6ce264f3b9c
- https://github.com/python-pillow/Pillow/commit/c48271ab354db49cdbd740bc45e13be4f0f7993c
- https://github.com/advisories/GHSA-pw3c-h7wp-cvhx
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-8.yaml
- https://github.com/python-pillow/Pillow
- https://github.com/python-pillow/Pillow/blob/e8ab5640774716c5486d3cb05167f74f742ad6ef/CHANGES.rst?plain=1#L1187