Vulnerability · Published Sep 7, 2022 · Assigned by mitre

CVE-2022-40023

High 7.5

In plain English

A high-severity security flaw in the python3-mako package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.3% (higher than 84% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)2.3%top 16.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8python3-mako1.0.6-14.el8ALSA-2023:2893
AlmaLinux:9python3-mako1.1.4-6.el9ALSA-2023:2258
Alpine:v3.20py3-mako1.2.2-r0ALPINE-CVE-2022-40023
Alpine:v3.21py3-mako1.2.2-r0ALPINE-CVE-2022-40023
Alpine:v3.22py3-mako1.2.2-r0ALPINE-CVE-2022-40023
Alpine:v3.23py3-mako1.2.2-r0ALPINE-CVE-2022-40023
Alpine:v3.24py3-mako1.2.2-r0ALPINE-CVE-2022-40023
Debian:12mako1.2.2+ds1-1DEBIAN-CVE-2022-40023
Debian:13mako1.2.2+ds1-1DEBIAN-CVE-2022-40023
Debian:14mako1.2.2+ds1-1DEBIAN-CVE-2022-40023
PyPImako1.2.2GHSA-v973-fxgf-6xhp
PyPImako1.2.2PYSEC-2022-260
Rocky Linux:8python-mako0:1.0.6-14.el8RLSA-2023:2893
Rocky Linux:9python-mako0:1.1.4-6.el9RLSA-2023:2258
Ubuntu:22.04:LTSmako1.1.3+ds1-2ubuntu0.1UBUNTU-CVE-2022-40023
Ubuntu:22.04:LTSmako1.1.3+ds1-2ubuntu0.1USN-5625-1

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References