An update for python-jinja2 is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP4,openEuler-22.03-LTS,openEuler-22.03-LTS-SP1,openEuler-22.03-LTS-SP2 and openEuler-22.03-LTS-SP3
Security Advisory
openeuler-security@openeuler.org
openEuler security committee
openEuler-SA-2024-1128
Final
1.0
1.0
2024-02-02
Initial
2024-02-02
2024-02-02
openEuler SA Tool V1.0
2024-02-02
python-jinja2 security update
An update for python-jinja2 is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP4,openEuler-22.03-LTS,openEuler-22.03-LTS-SP1,openEuler-22.03-LTS-SP2 and openEuler-22.03-LTS-SP3.
Jinja2 is one of the most used template engines for Python. It is inspired by Django's templating system but extends it with an expressive language that gives template authors a more powerful set of tools. On top of that it adds sandboxed execution and optional automatic escaping for applications where security is important.
Security Fix(es):
Jinja is an extensible templating engine. Special placeholders in the template allow writing code similar to Python syntax. It is possible to inject arbitrary HTML attributes into the rendered HTML template, potentially leading to Cross-Site Scripting (XSS). The Jinja `xmlattr` filter can be abused to inject arbitrary HTML attribute keys and values, bypassing the auto escaping mechanism and potentially leading to XSS. It may also be possible to bypass attribute validation checks if they are blacklist-based.
(CVE-2024-22195)
An update for python-jinja2 is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP4,openEuler-22.03-LTS,openEuler-22.03-LTS-SP1,openEuler-22.03-LTS-SP2 and openEuler-22.03-LTS-SP3.
openEuler Security has rated this update as having a security impact of medium. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.
Medium
python-jinja2
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1128
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2024-22195
https://nvd.nist.gov/vuln/detail/CVE-2024-22195
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP4
openEuler-22.03-LTS
openEuler-22.03-LTS-SP1
openEuler-22.03-LTS-SP2
openEuler-22.03-LTS-SP3
python-jinja2-help-2.11.2-6.oe1.noarch.rpm
python2-jinja2-2.11.2-6.oe1.noarch.rpm
python3-jinja2-2.11.2-6.oe1.noarch.rpm
python-jinja2-help-2.11.2-6.oe2003sp4.noarch.rpm
python2-jinja2-2.11.2-6.oe2003sp4.noarch.rpm
python3-jinja2-2.11.2-6.oe2003sp4.noarch.rpm
python3-jinja2-3.0.3-3.oe2203.noarch.rpm
python-jinja2-help-3.0.3-3.oe2203.noarch.rpm
python3-jinja2-3.0.3-3.oe2203sp1.noarch.rpm
python-jinja2-help-3.0.3-3.oe2203sp1.noarch.rpm
python3-jinja2-3.0.3-3.oe2203sp2.noarch.rpm
python-jinja2-help-3.0.3-3.oe2203sp2.noarch.rpm
python3-jinja2-3.0.3-3.oe2203sp3.noarch.rpm
python-jinja2-help-3.0.3-3.oe2203sp3.noarch.rpm
python-jinja2-2.11.2-6.oe1.src.rpm
python-jinja2-2.11.2-6.oe2003sp4.src.rpm
python-jinja2-3.0.3-3.oe2203.src.rpm
python-jinja2-3.0.3-3.oe2203sp1.src.rpm
python-jinja2-3.0.3-3.oe2203sp2.src.rpm
python-jinja2-3.0.3-3.oe2203sp3.src.rpm
Jinja is an extensible templating engine. Special placeholders in the template allow writing code similar to Python syntax. It is possible to inject arbitrary HTML attributes into the rendered HTML template, potentially leading to Cross-Site Scripting (XSS). The Jinja `xmlattr` filter can be abused to inject arbitrary HTML attribute keys and values, bypassing the auto escaping mechanism and potentially leading to XSS. It may also be possible to bypass attribute validation checks if they are blacklist-based.
2024-02-02
CVE-2024-22195
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP4
openEuler-22.03-LTS
openEuler-22.03-LTS-SP1
openEuler-22.03-LTS-SP2
openEuler-22.03-LTS-SP3
Medium
6.1
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
python-jinja2 security update
2024-02-02
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1128