Moderate: python-jinja2 security update

python-jinja2 Updated 02 Oct 2025

Summary

15/07/2024
N/A
Yes i
Medium
5.4

RLSA-2024:4231: Moderate: python-jinja2 security update. Affects python-jinja2 versions < 0:2.10.1-5.el8_10. Fixed in 0:2.10.1-5.el8_10. 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

The python-jinja2 package contains Jinja2, a template engine written in pure Python. Jinja2 provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment.

Vulnerability Detail

The vulnerability in python-jinja2 (CVE-2024-34064) allows for the acceptance of keys containing non-attribute characters. This vulnerability can potentially lead to security issues and compromise the integrity of the affected system. The CVSS score for this vulnerability is 5.4.

How To Fix

Minimum fixed version

0:2.10.1-5.el8_10

This is the first release that contains the fix.

sudo dnf update python-jinja2

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

Conclusion

The python-jinja2 package is vulnerable to a security issue that allows for the acceptance of keys containing non-attribute characters. It is recommended to update the package to the latest version to mitigate this vulnerability.

See every vulnerability recorded for python-jinja2 →

Share this vulnerability

FAQ

Python-jinja2 is a template engine written in pure Python that provides a Django inspired non-XML syntax.

This vulnerability allows for the acceptance of keys containing non-attribute characters, which can potentially lead to security issues and compromise the integrity of the affected system.

The CVSS score for this vulnerability is 5.4.

To fix this vulnerability, update the python-jinja2 package to version 2.10.1-5.el8_10 or later.

You can find more information about this vulnerability in the CVE page(s) listed in the References section.

Related vulnerabilities

Recent vulnerabilities recorded for python-jinja2.

How To Fix

Minimum fixed version

0:2.10.1-5.el8_10

This is the first release that contains the fix.

sudo dnf update python-jinja2

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