7.5

CVE-2022-40023: debian debian_linux

CVSS: 7.5v3.1HighModified
AliasesALPINE-CVE-2022-40023MGASA-2022-0350SUSE-SU-2022:3700-1
Published 07-09-2022Last modified 03-12-2025

Vulnerability summary

CVE-2022-40023 is a high (CVSS 7.5) vulnerability in debian debian_linux. EPSS estimates a 2.17% chance of exploitation in the next 30 days, higher than 82.1% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
2.17%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2github, reference

Timeline

  1. 07-09-2022
    PublishedVulnerability first disclosed.
  2. 03-12-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 6 sources · 2 versions

EPSS trend

Probability

2.17%

Chance of exploitation in the next 30 days

Percentile

82%

Versus all other CVEs

30-day change

+0.02 pp

From 2.16% on 21-09-2026

21-09-202621-10-2026
EPSS score
2.17%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • githubUnverified

    Mako

    Maturity: poc

  • referenceUnverified

    Exploit Reference (pyup.io)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Suse9 products
  • python-Mako&distro=HPE Helion OpenStack 8< 1.0.7-3.3.1
  • python-Mako&distro=SUSE Linux Enterprise Module for Basesystem 15 SP3< 1.0.7-150000.3.3.1
  • python-Mako&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4< 1.0.7-150000.3.3.1
  • python-Mako&distro=SUSE Linux Enterprise Module for Package Hub 15 SP3< 1.0.7-150000.3.3.1
  • python-Mako&distro=SUSE Linux Enterprise Module for Package Hub 15 SP4< 1.0.7-150000.3.3.1
Opensuse3 products
  • python-Mako&distro=openSUSE Leap 15.3< 1.0.7-150000.3.3.1
  • python-Mako&distro=openSUSE Leap 15.4< 1.0.7-150000.3.3.1
  • python-Mako&distro=openSUSE Tumbleweed< 1.3.0-2.1 | < 1.4.1-1.1
Debian2 products
  • mako< 1.0.7+ds1-1+deb10u1 | < 1.1.3+ds1-2+deb11u1 | < 1.2.2+ds1-1
  • debian_linuxEOL10.0
Redhat2 products
  • python-mako< 0:1.1.4-6.el9 | < 0:1.0.6-14.el8
  • python3-mako< 0:1.1.4-6.el9 | < 0:1.0.6-14.el8
Alpine1 product
  • py3-mako< 1.2.2-r0
Mageia1 product
  • python-mako< 1.2.2-1.mga8
PyPI1 product
  • mako< 925760291d6efec64fda6e9dd1fd9cfbd5be068c | < 1.2.2
Sqlalchemy1 product
Ubuntu1 product
  • mako< 1.0.3+ds1-1ubuntu1+esm1 | < 1.0.7+ds1-1ubuntu0.2 | < 1.1.0+ds1-1ubuntu2.1 | < 1.1.3+ds1-2ubuntu0.1

9 vendors · 21 products

References

36 links
Show all 36 references