Vulnerability Details : CVE-2022-40023
Potential exploit
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.
Vulnerability category: Denial of service
Products affected by CVE-2022-40023
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:a:sqlalchemy:mako:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-40023
0.53%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 66 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-40023
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
References for CVE-2022-40023
-
https://lists.debian.org/debian-lts-announce/2022/09/msg00026.html
[SECURITY] [DLA 3116-1] mako security updateMailing List;Third Party Advisory
-
https://github.com/sqlalchemy/mako/commit/925760291d6efec64fda6e9dd1fd9cfbd5be068c
fix tag regexp to match quoted groups correctly · sqlalchemy/mako@9257602 · GitHubPatch
-
https://github.com/sqlalchemy/mako/blob/c2f392e0be52dc67d1b9770ab8cce6a9c736d547/mako/ext/extract.py#L21
mako/extract.py at c2f392e0be52dc67d1b9770ab8cce6a9c736d547 · sqlalchemy/mako · GitHubExploit;Third Party Advisory
-
https://github.com/sqlalchemy/mako/issues/366
quoted sections in tag not grouped correctly · Issue #366 · sqlalchemy/mako · GitHubIssue Tracking;Patch
-
https://pyup.io/vulnerabilities/CVE-2022-40023/50870/
PyUp Vuln #50870Third Party Advisory
-
https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/
PyUp Discovers ReDoS Vulnerabilities in Top Python PackagesExploit;Third Party Advisory
Jump to