Vulnerability identifier: #VU60003
Vulnerability risk: High
CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-749
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Pillow
Universal components / Libraries /
Libraries used by multiple products
Vendor: Alex Clark and Contributors
Description
The vulnerability allows a remote attacker to compromise the affected system.
The vulnerability exists due to usage of PIL.ImageMath.eval() function on arbitrary expressions. A remote attacker can pass specially crafted file to the library and execute arbitrary code on the system.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
Pillow: 1.0 - 8.4.0
External links
http://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval
http://lists.debian.org/debian-lts-announce/2022/01/msg00018.html
http://www.debian.org/security/2022/dsa-5053
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.