Advisory

RLSA-2024:3102

Also known as: CVE-2024-22195

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):

  • jinja2: HTML attribute injection when passing user input as keys to xmlattr filter (CVE-2024-22195)

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

Severity

Not rated by the source.

Dates

Published
2024-06-14 13:59 UTC
Modified
2026-02-05 07:45 UTC

Affected packages and fixes

python-jinja2

RPM packages (rpm) · Rocky Linux 8

Affected

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

Fixed versions

0:2.10.1-4.el8

Fix

  • Fixed version 0:2.10.1-4.el8
    sudo dnf upgrade python-jinja2-0:2.10.1-4.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