Moderate: python-jinja2 security update
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.