PT-2022-1453
CVE-2022-22815
·
Published
2022-01-07
·
Updated
2024-06-13
Description by
CVSS 3.1
9.8
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Pillow versions prior to 9.0.0
Description
The issue is related to the
path getbbox function in path.c in Pillow, which improperly initializes ImagePath.Path. This can be exploited by a remote attacker to access arbitrary files in the system by sending a specially crafted HTTP request. The vulnerability is associated with incorrect path restriction to the directory.Recommendations
For versions prior to 9.0.0, update to version 9.0.0 or later to resolve the issue.
As a temporary workaround, consider restricting access to the
path getbbox function in path.c until a patch is available. Found an issue in the description? Have something to add? Feel free to write us 👾