Read the docs
TI-2022-18951 Aliases CVE-2022-40023GHSA-v973-fxgf-6xhp

Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when…

Priority LOW 37CWE-1333Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 2 fixed, 8 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.

Summary

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.

Why it matters now

EPSS 0.0232 83rd percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Partial mako (PyPI): 1.2.2Red Hat: 2 advisoriesRed Hat: 2 fixed, 8 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—mako (PyPI)before 1.2.21.2.2Patch availableGHSA-v973-fxgf-6xhp
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • mako (PyPI) Vendor— Affected before 1.2.2 Fixed in 1.2.2 Patch available GHSA-v973-fxgf-6xhp

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:sqlalchemy:mako:*:*:*:*:*:*:*:*before 1.2.2Vulnerablesqlalchemy
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
  • cpe:2.3:a:sqlalchemy:mako:*:*:*:*:*:*:*:* Versions before 1.2.2 Vulnerable ·sqlalchemy
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian

Remediation

  • Fix · GHSA-v973-fxgf-6xhp mako (PyPI) Fixed in 1.2.2 Advisory →

Red Hat 2 advisories

  • RHSA-2023:2893 Released 2023-05-16 · Red Hat rating Moderate
    python-mako security update
    • Red Hat Enterprise Linux AppStream (v. 8) python-mako-1.0.6-14.el8, python3-mako-1.0.6-14.el8
  • RHSA-2023:2258 Released 2023-05-09 · Red Hat rating Moderate
    python-mako security update
    • Red Hat Enterprise Linux AppStream (v. 9) python-mako-1.1.4-6.el9, python3-mako-1.1.4-6.el9

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ceph Storage 3AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 8AffectedNo fix planned: Will not fix
Red Hat OpenStack Platform 13 (Queens)AffectedNo fix planned: Out of support scope
Red Hat Openshift Container Storage 4AffectedNo fix yet
Red Hat Openshift Data Foundation 4AffectedNo fix yet
Red Hat Quay 3AffectedNo fix yet
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2023:2893
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2023:2258
Not affected: 5 products
  • Red Hat Ceph Storage 4
  • Red Hat Ceph Storage 5
  • Red Hat OpenStack Platform 16.1
  • Red Hat OpenStack Platform 16.2
  • Red Hat OpenStack Platform 17.0

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-40023
  2. 2026-10-03 Alias added: GHSA-v973-fxgf-6xhp

References

Sources