CVE-2022-22817
Pillow Arbitrary Code Execution
Description
PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method. A lambda expression could also be used.
INFO
Published Date :
Jan. 10, 2022, 2:12 p.m.
Last Modified :
Oct. 15, 2024, 9:35 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2022-22817 has a 4 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-22817
.
URL | Resource |
---|---|
https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html | Mailing List Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html | |
https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval | Release Notes Vendor Advisory |
https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security | Release Notes Vendor Advisory |
https://security.gentoo.org/glsa/202211-10 | Third Party Advisory |
https://www.debian.org/security/2022/dsa-5053 | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Ini adalah repository kumpulan CVE v.5
allcve cve cvelist newcve
Example of CVE-2022-22817
All CVE Exploits used by connor including code.
PowerShell Python Shell HTML
test 反向辣鸡数据投放 CVE-2022-23305 工具 利用 教程 Exploit POC
cve-2020-
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-22817
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-22817
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 15, 2024
Action Type Old Value New Value Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Mar. 22, 2024
Action Type Old Value New Value Added Reference MITRE https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html [No types assigned] -
CVE Modified by [email protected]
Dec. 10, 2023
Action Type Old Value New Value Changed Description PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method. A lambda expression could also be used, PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method. A lambda expression could also be used. -
Modified Analysis by [email protected]
Jan. 31, 2023
Action Type Old Value New Value Changed Reference Type https://security.gentoo.org/glsa/202211-10 No Types Assigned https://security.gentoo.org/glsa/202211-10 Third Party Advisory -
CVE Modified by [email protected]
Nov. 22, 2022
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/202211-10 [No Types Assigned] -
Modified Analysis by [email protected]
Apr. 22, 2022
Action Type Old Value New Value Changed Reference Type https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security No Types Assigned https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security Release Notes, Vendor Advisory Changed CPE Configuration OR *cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* versions up to (excluding) 9.0.0 OR *cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* versions up to (excluding) 9.0.1 -
CVE Modified by [email protected]
Mar. 28, 2022
Action Type Old Value New Value Changed Description PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method. PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method. A lambda expression could also be used, Added Reference https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security [No Types Assigned] -
Modified Analysis by [email protected]
Feb. 10, 2022
Action Type Old Value New Value Changed Reference Type https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html No Types Assigned https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html Mailing List, Third Party Advisory Changed Reference Type https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval Vendor Advisory https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval Release Notes, Vendor Advisory Changed Reference Type https://www.debian.org/security/2022/dsa-5053 No Types Assigned https://www.debian.org/security/2022/dsa-5053 Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jan. 25, 2022
Action Type Old Value New Value Added Reference https://www.debian.org/security/2022/dsa-5053 [No Types Assigned] -
CVE Modified by [email protected]
Jan. 23, 2022
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html [No Types Assigned] -
Initial Analysis by [email protected]
Jan. 19, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval No Types Assigned https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval Vendor Advisory Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* versions up to (excluding) 9.0.0
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-22817
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-22817
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.38 }} 0.04%
score
0.73454
percentile