PT-2022-1453 · Pillow+10 · Pillow+10
Published
2022-01-07
·
Updated
2024-06-13
·
CVE-2022-22815
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:C/I:N/A:N |
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.Fix
Improper Initialization
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Pillow
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu