CVE-2022-40023: High severity SQLAlchemy mako vulnerability

Published Sep 7, 2022
·
Updated

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.

Affected Software

3 affected componentsFixes available
pip/mako<1.2.2
1.2.2
SQLAlchemy mako<1.2.2
Debian Debian Linux=10.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/mako to a version that resolves this vulnerability.

    Fixed in 1.2.2

Event History

Sep 7, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 16, 2022
Advisory Published
05:20 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-40023?

The severity of CVE-2022-40023 is high with a CVSS score of 7.5.

2

How does CVE-2022-40023 impact Sqlalchemy mako?

CVE-2022-40023 affects Sqlalchemy mako versions prior to 1.2.2.

3

Which software packages are affected by CVE-2022-40023?

Sqlalchemy mako versions prior to 1.2.2, mako package from pip, Sqlalchemy mako from the source, and Debian Linux version 10.0 are affected by CVE-2022-40023.

4

What is the vulnerability description of CVE-2022-40023?

CVE-2022-40023 is a vulnerability in Sqlalchemy mako before 1.2.2 that allows Regular expression Denial of Service (ReDoS) when using the Lexer class to parse.

5

How can I remediate CVE-2022-40023?

To remediate CVE-2022-40023, update Sqlalchemy mako to version 1.2.2 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203