Summary
This update for python-Jinja2 fixes the following issues:
- Fixed HTML attribute injection when passing user input as keys to xmlattr filter (CVE-2024-34064, bsc#1223980, CVE-2024-22195, bsc#1218722)
Fixed packages 10
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 15.5 | python-Jinja2 | 2.10.1-150000.3.13.1 |
| openSUSE · Leap Micro 5.3 | python-Jinja2 | 2.10.1-150000.3.13.1 |
| openSUSE · Leap Micro 5.4 | python-Jinja2 | 2.10.1-150000.3.13.1 |
| SUSE · SLE Micro 5.1 Linux Enterprise Micro 5.1 | python-Jinja2 | 2.10.1-150000.3.13.1 |
| SUSE · SLE Micro 5.2 Linux Enterprise Micro 5.2 | python-Jinja2 | 2.10.1-150000.3.13.1 |
| SUSE · SLE Micro 5.3 Linux Enterprise Micro 5.3 | python-Jinja2 | 2.10.1-150000.3.13.1 |
| SUSE · SLE Micro 5.4 Linux Enterprise Micro 5.4 | python-Jinja2 | 2.10.1-150000.3.13.1 |
| SUSE · SLE Micro 5.5 Linux Enterprise Micro 5.5 | python-Jinja2 | 2.10.1-150000.3.13.1 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Basesystem 15 SP5 | python-Jinja2 | 2.10.1-150000.3.13.1 |
| SUSE · SLES 15 SP6 Linux Enterprise Module for Basesystem 15 SP6 | python-Jinja2 | 2.10.1-150000.3.13.1 |
Vulnerabilities 2
-
Medium 5.4
Jinja vulnerable to Cross-Site Scripting (XSS)
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). …
-
Medium 5.4CVE-2024-34064 Public exploit
Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter
Jinja is an extensible templating engine. The `xmlattr` filter in affected versions of Jinja accepts keys containing non-attribute characters. XML/HTML attributes cannot contain spaces, `/`, `>`, or `=`, as each would then be interpreted as starting a separat…