PT-2022-6566 · Unknown+12 · Sqlalchemy+14
Zzzeek
·
Published
2022-07-09
·
Updated
2025-12-03
·
CVE-2022-40023
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Sqlalchemy mako versions prior to 1.2.2
Description
The issue is related to insufficient input validation when handling regular expressions in the Lexer class, which can be exploited by a remote attacker to launch a denial-of-service attack using specially crafted data. This affects not only Sqlalchemy mako but also babelplugin and linguaplugin.
Recommendations
For versions prior to 1.2.2, update to version 1.2.2 or later to resolve the issue.
As a temporary workaround, consider restricting the use of the Lexer class to parse regular expressions until a patch is available.
Exploit
Fix
DoS
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Debian
Linuxmint
Red Hat
Red Os
Rocky Linux
Sqlalchemy
Suse
Ubuntu
Babelplugin
Linguaplugin
Mako