CVE-2022-40023
SqlAlchemy Mako Regular Expression Denial of Service (ReDoS)
Description
Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when using the Lexer class to parse. This also affects babelplugin and linguaplugin.
INFO
Published Date :
Sept. 7, 2022, 1:15 p.m.
Last Modified :
Nov. 21, 2024, 7:20 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2022-40023 has a 1 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-40023
.
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).
This tool is used for backdoor,shellcode generation,Information retrieval and POC arrangement for various architecture devices
iot security exploit linux python reverse-shell poc cve
Python Shell
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-40023
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-40023
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 af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/sqlalchemy/mako/blob/c2f392e0be52dc67d1b9770ab8cce6a9c736d547/mako/ext/extract.py#L21 Added Reference https://github.com/sqlalchemy/mako/commit/925760291d6efec64fda6e9dd1fd9cfbd5be068c Added Reference https://github.com/sqlalchemy/mako/issues/366 Added Reference https://lists.debian.org/debian-lts-announce/2022/09/msg00026.html Added Reference https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/ Added Reference https://pyup.io/vulnerabilities/CVE-2022-40023/50870/ -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CWE Remap by [email protected]
Aug. 08, 2023
Action Type Old Value New Value Changed CWE NVD-CWE-Other CWE-1333 -
Modified Analysis by [email protected]
Mar. 01, 2023
Action Type Old Value New Value Changed Reference Type https://github.com/sqlalchemy/mako/commit/925760291d6efec64fda6e9dd1fd9cfbd5be068c Patch, Third Party Advisory https://github.com/sqlalchemy/mako/commit/925760291d6efec64fda6e9dd1fd9cfbd5be068c Patch Changed Reference Type https://github.com/sqlalchemy/mako/issues/366 Issue Tracking, Patch, Third Party Advisory https://github.com/sqlalchemy/mako/issues/366 Issue Tracking, Patch Changed Reference Type https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/ No Types Assigned https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/ Exploit, Third Party Advisory -
CVE Modified by [email protected]
Dec. 27, 2022
Action Type Old Value New Value Added Reference https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/ [No Types Assigned] -
Modified Analysis by [email protected]
Oct. 01, 2022
Action Type Old Value New Value Changed Reference Type https://lists.debian.org/debian-lts-announce/2022/09/msg00026.html No Types Assigned https://lists.debian.org/debian-lts-announce/2022/09/msg00026.html Mailing List, Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Sep. 21, 2022
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2022/09/msg00026.html [No Types Assigned] -
Initial Analysis by [email protected]
Sep. 10, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://github.com/sqlalchemy/mako/blob/c2f392e0be52dc67d1b9770ab8cce6a9c736d547/mako/ext/extract.py#L21 No Types Assigned https://github.com/sqlalchemy/mako/blob/c2f392e0be52dc67d1b9770ab8cce6a9c736d547/mako/ext/extract.py#L21 Exploit, Third Party Advisory Changed Reference Type https://github.com/sqlalchemy/mako/commit/925760291d6efec64fda6e9dd1fd9cfbd5be068c No Types Assigned https://github.com/sqlalchemy/mako/commit/925760291d6efec64fda6e9dd1fd9cfbd5be068c Patch, Third Party Advisory Changed Reference Type https://github.com/sqlalchemy/mako/issues/366 No Types Assigned https://github.com/sqlalchemy/mako/issues/366 Issue Tracking, Patch, Third Party Advisory Changed Reference Type https://pyup.io/vulnerabilities/CVE-2022-40023/50870/ No Types Assigned https://pyup.io/vulnerabilities/CVE-2022-40023/50870/ Third Party Advisory Added CWE NIST NVD-CWE-Other Added CPE Configuration OR *cpe:2.3:a:sqlalchemy:mako:*:*:*:*:*:*:*:* versions up to (excluding) 1.2.2
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-40023
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-40023
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.36 }} -0.22%
score
0.72067
percentile