CVE-2022-40023

python-mako: REDoS in Lexer class

Published Sep 7, 2022 CVSS 3.1 · 7.5 High EPSS 2.5% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3116-1 mako security update
Debian DLA Debian DLA DLA-4393-1 mako security update
EUVD EUVD EUVD-2022-0149 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.
Github GHSA Github GHSA GHSA-v973-fxgf-6xhp mako is vulnerable to Regular Expression Denial of Service
Ubuntu USN Ubuntu USN USN-5625-1 Mako vulnerability
Ubuntu USN Ubuntu USN USN-5625-2 Mako vulnerability
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00549}

epss

{'score': 0.00564}

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Dec 3, 2025, 6:05 AM
Reserved
Sep 6, 2022, 12:00 AM
Status
Modified
Published
Sep 7, 2022, 1:15 PM
Modified
Jun 17, 2026, 5:00 AM
Severity
Moderate
Public date
Sep 7, 2022, 12:00 AM