Inefficient Regular Expression Complexity Affecting python3-mako package, versions <0:1.0.6-14.el8


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
2.46% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-PYTHON3MAKO-5619919
  • published28 May 2023
  • disclosed9 May 2023

Introduced: 9 May 2023

CVE-2022-40023  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 python3-mako to version 0:1.0.6-14.el8 or higher.
This issue was patched in ALSA-2023:2893.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-mako package and not the python3-mako package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1