Advisory

ALSA-2024:2348

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

Severity

Not rated by the source.

Dates

Published
2024-04-30 00:00 UTC
Modified
2026-10-29 11:31 UTC

Affected packages and fixes

python3-jinja2

RPM packages (rpm) · AlmaLinux 9

Affected

  • introduced 0, fixed 2.11.3-5.el9 (ecosystem)

Fixed versions

2.11.3-5.el9

Fix

  • Fixed version 2.11.3-5.el9
    sudo dnf upgrade python3-jinja2-2.11.3-5.el9

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: AlmaLinux OSV database · MIT

Sources & licences