Moderate: python-mako security update

python3-mako Updated 02 Oct 2025

Summary

16/05/2023
N/A
Yes i
Unrated
Not published

ALSA-2023:2893: Moderate: python-mako security update. Affects python3-mako versions < 1.0.6-14.el8. Fixed in 1.0.6-14.el8. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules for maximum performance.

Vulnerability Detail

The vulnerability in python-mako is a Regular Expression Denial of Service (REDoS) issue in the Lexer class. This vulnerability, identified as CVE-2022-40023, can be exploited by an attacker to cause a denial of service attack by sending specially crafted input to the affected application. The impact of this vulnerability can result in excessive CPU usage and potential system instability.

How To Fix

Minimum fixed version

1.0.6-14.el8

This is the first release that contains the fix.

sudo dnf update python3-mako

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

In conclusion, the python-mako package is affected by a Regular Expression Denial of Service (REDoS) vulnerability. It is crucial to update the python3-mako package to version 1.0.6-14.el8 or later to mitigate the vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for python3-mako →

Share this vulnerability

FAQ

Python-mako is a template library used for generating dynamic content in Python applications. It provides a syntax that compiles into Python modules for improved performance.

A Regular Expression Denial of Service (REDoS) vulnerability occurs when a regular expression pattern can be exploited to cause the matching engine to enter into an inefficient state, leading to excessive CPU usage and potential denial of service.

The impact of this vulnerability can result in excessive CPU usage and potential system instability. It can be exploited by an attacker to cause a denial of service attack on the affected application.

No specific workaround has been provided for this vulnerability. It is recommended to update the python3-mako package to the latest version to mitigate the issue.

You can update the python3-mako package using the package manager of your AlmaLinux 8 system. Run the appropriate command to update the package, such as 'yum update python3-mako'.

Related vulnerabilities

Recent vulnerabilities recorded for python3-mako.

How To Fix

Minimum fixed version

1.0.6-14.el8

This is the first release that contains the fix.

sudo dnf update python3-mako

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback