- Issued:
- 2024-05-22
- Updated:
- 2024-05-22
RHSA-2024:3102 - Security Advisory
Synopsis
Moderate: python-jinja2 security update
Type/Severity
Security Advisory: Moderate
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
An update for python-jinja2 is now available for Red Hat Enterprise Linux 8.
Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Description
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 Red Hat Enterprise Linux 8.10 Release Notes linked from the References section.
Solution
For details on how to apply this update, which includes the changes described in this advisory, refer to:
https://access.redhat.com/articles/11258
For the update to take effect, all applications using Jinja2 must be restarted.
Affected Products
- Red Hat Enterprise Linux for x86_64 8 x86_64
- Red Hat Enterprise Linux for IBM z Systems 8 s390x
- Red Hat Enterprise Linux for Power, little endian 8 ppc64le
- Red Hat Enterprise Linux for ARM 64 8 aarch64
Fixes
- BZ - 2257854 - CVE-2024-22195 jinja2: HTML attribute injection when passing user input as keys to xmlattr filter
CVEs
Red Hat Enterprise Linux for x86_64 8
SRPM | |
---|---|
python-jinja2-2.10.1-4.el8.src.rpm | SHA-256: bcdbfb399796554a61196653fbc04d83710cdfebf6f6424eb6c726226d26f194 |
x86_64 | |
python3-jinja2-2.10.1-4.el8.noarch.rpm | SHA-256: 0455842ce2a3f75b7a5e3af522c9443776d8a7221cfe5c8242706efdcc90c7bb |
Red Hat Enterprise Linux for IBM z Systems 8
SRPM | |
---|---|
python-jinja2-2.10.1-4.el8.src.rpm | SHA-256: bcdbfb399796554a61196653fbc04d83710cdfebf6f6424eb6c726226d26f194 |
s390x | |
python3-jinja2-2.10.1-4.el8.noarch.rpm | SHA-256: 0455842ce2a3f75b7a5e3af522c9443776d8a7221cfe5c8242706efdcc90c7bb |
Red Hat Enterprise Linux for Power, little endian 8
SRPM | |
---|---|
python-jinja2-2.10.1-4.el8.src.rpm | SHA-256: bcdbfb399796554a61196653fbc04d83710cdfebf6f6424eb6c726226d26f194 |
ppc64le | |
python3-jinja2-2.10.1-4.el8.noarch.rpm | SHA-256: 0455842ce2a3f75b7a5e3af522c9443776d8a7221cfe5c8242706efdcc90c7bb |
Red Hat Enterprise Linux for ARM 64 8
SRPM | |
---|---|
python-jinja2-2.10.1-4.el8.src.rpm | SHA-256: bcdbfb399796554a61196653fbc04d83710cdfebf6f6424eb6c726226d26f194 |
aarch64 | |
python3-jinja2-2.10.1-4.el8.noarch.rpm | SHA-256: 0455842ce2a3f75b7a5e3af522c9443776d8a7221cfe5c8242706efdcc90c7bb |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.