Advisory

GHSA-v973-fxgf-6xhp

Also known as: CVE-2022-40023, PYSEC-2022-260

Summary

mako is vulnerable to Regular Expression Denial of Service

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-09-16 17:20 UTC
Modified
2025-12-03 15:46 UTC

Affected packages and fixes

mako

PyPI · All systems

Affected

  • introduced 0, fixed 1.2.2 (ecosystem)

Fixed versions

1.2.2

Fix

  • Fixed version 1.2.2
    pip install --upgrade mako==1.2.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences