CVE-2022-30595
Aliases:GHSA-hr8g-f6r6-mr22BIT-pillow-2022-30595PYSEC-2022-43145
Advisory lineage Upstream: 0 Downstream: 5
Modified
Published: 25 May 2022, 11:46
Last modified:03 Aug 2024, 06:56
Vulnerability Summary
Overall Risk (default)
high
70/100 CVSS Score
9.8 CRITICAL
v3.1 (nvd)
EPSS Score
0.6% LOW
1% probability +0.12%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected
Timeline
25 May 2022, 11:46
Published
Vulnerability first disclosed
03 Aug 2024, 06:56
Last Modified
Vulnerability information updated
Description
libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files.
CVSS Metrics
- v3.1•CRITICAL•Score: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.60%• Percentile: 70%
Techniques & Countermeasures
- CWE-787•Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
Affected Systems
- PyPI•pillow
≥ 9.1.0, < 9.1.1
- python•pillow
9.1.0
References (6)
- https://github.com/python-pillow/Pillow/blob/main/src/libImaging/TgaRleDecode.c
- https://pillow.readthedocs.io/en/stable/releasenotes/9.1.1.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-30595
- https://github.com/python-pillow/Pillow/commit/c846cc881ebe34e3518412c2e3636433d9947280
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-43145.yaml
- https://github.com/python-pillow/Pillow