SUSE VEX
SUSEVEX-CVE-2024-34064
Details
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 separate attribute. If an application accepts keys (as opposed to only values) as user input, and renders these in pages that other users see as well, an attacker could use this to inject other attributes and perform XSS. The fix for CVE-2024-22195 only addressed spaces but not other characters. Accepting keys as user input is now explicitly considered an unintended use case of the xmlattr filter, and code that does so without otherwise validating the input should be flagged as insecure, regardless of Jinja version. Accepting _values_ as user input continues to be safe. This vulnerability is fixed in 3.1.4.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| SUSE:Enterprise Storage 7.1 | python-Jinja2 | All versions, no fix yet |
| SUSE:Enterprise Storage 7.1 | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 | python2-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP1 | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP1 | python2-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP1 | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP2 | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP2 | python2-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP2 | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | python2-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP3 | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP3 | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP4 | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP4 | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP4 | python311-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | python311-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | python311-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 | python2-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP1 | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP1 | python2-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP1 | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP1-LTSS | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP1-LTSS | python2-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP1-LTSS | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP2 | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP2 | python2-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP2 | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP2-LTSS | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP2-LTSS | python2-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP2-LTSS | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP3 | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP3 | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP4 | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP4 | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP4 | python311-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | python311-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15-LTSS | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15-LTSS | python2-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server 15-LTSS | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server for SAP Applications 15 | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server for SAP Applications 15 | python2-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server for SAP Applications 15 | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP1 | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP1 | python2-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP1 | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | python2-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | python-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | python3-Jinja2 | All versions, no fix yet |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | python311-Jinja2 | All versions, no fix yet |
| SUSE:Manager Client Tools Beta for SLE 12 | python-Jinja2 | All versions, no fix yet |
| SUSE:Manager Proxy 4.3 | python-Jinja2 | All versions, no fix yet |
| SUSE:Manager Proxy 4.3 | python3-Jinja2 | All versions, no fix yet |
| SUSE:Manager Retail Branch Server 4.3 | python-Jinja2 | All versions, no fix yet |
| SUSE:Manager Retail Branch Server 4.3 | python3-Jinja2 | All versions, no fix yet |
| SUSE:Manager Server 4.3 | python-Jinja2 | All versions, no fix yet |
| SUSE:Manager Server 4.3 | python3-Jinja2 | All versions, no fix yet |
References
- https://www.suse.com/security/cve/CVE-2024-34064
- https://www.suse.com/support/security/rating/
- https://bugzilla.suse.com/1223980
- https://lists.suse.com/pipermail/suse-liberty-linux-updates/2024-November/000513.html
- https://lists.suse.com/pipermail/sle-security-updates/2024-August/019260.html
- https://lists.suse.com/pipermail/sle-updates/2024-July/035963.html
- https://lists.suse.com/pipermail/sle-security-updates/2024-August/019259.html
- https://lists.suse.com/pipermail/sle-updates/2024-June/035494.html
- https://lists.suse.com/pipermail/sle-security-updates/2025-June/021356.html