Security mailing lists by PureSourceCode

CVE-2022-40023

HIGH 7.5CVSS 3.1

mako is vulnerable to Regular Expression Denial of Service

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.

Published
7 Sep 2022
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-1333
Also known as
GHSA-v973-fxgf-6xhpPYSEC-2022-260
Sources
NVDJSONOSV GHSA-v973-fxgf-6xhpJSONOSV PYSEC-2022-260JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD sqlalchemy mako
cpe:2.3:a:sqlalchemy:mako:*:*:*:*:*:*:*:*
< 1.2.2 1.2.2
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
OSV PyPI mako < 1.2.2 1.2.2

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 7 Sep 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Sep 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 16 Sep 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.