Advisory

RLSA-2021:4161

Also known as: CVE-2020-28493

Summary

Moderate: python-jinja2 security update

Details

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 Rocky Linux 8.5 Release Notes linked from the References section.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2021-11-09 08:26 UTC
Modified
2026-02-04 10:15 UTC

Affected packages and fixes

python-jinja2

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:2.10.1-3.el8 (ecosystem)

Fixed versions

0:2.10.1-3.el8

Fix

  • Fixed version 0:2.10.1-3.el8
    sudo dnf upgrade python-jinja2-0:2.10.1-3.el8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences