Skip to content
OpenAdvisories
Medium ALSA-2021:4161 1 CVE

Moderate: python-jinja2 security update

Published Nov 9, 2021 · Updated Oct 29, 2026

Summary

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.

Security Fix(es):

* python-jinja2: ReDoS vulnerability due to the sub-pattern (CVE-2020-28493)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Fixed packages 1

ReleasePackageFixed in
AlmaLinux · 8 python3-jinja2 2.10.1-3.el8

Vulnerabilities 1

  • Medium 5.3

    Regular Expression Denial of Service (ReDoS)

    This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDoS vulnerability is mainly due to the `_punctuation_re regex` operator and its use of multiple wildcards. The last wildcard is the most exploitable as it searches for trailing punctuation. T…

References

  • report
    https://vulners.com/cve/CVE-2020-28493