Exposed dangerous method or function in Pillow - CVE-2022-22817
Published: January 25, 2022
Vulnerability identifier: #VU60003
CSH Severity: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2022-22817
CWE-ID: CWE-749
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
Pillow
Pillow
Software vendor:
Alex Clark and Contributors
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.
Remediation
Install updates from vendor's website.