ALAS2-2024-2573
Active ModerateALAS2-2024-2573 (medium): python3-jinja2
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 1 records
| CVE | Relationship | Publisher CVE field | Publisher evidence |
|---|---|---|---|
| CVE-2024-34064 | Listed by advisoryExact relationship valueadvisory_list | Publisher referencesExact field valuereferences | https://alas.aws.amazon.com/AL2/ALAS2-2024-2573.html |
Description
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
Read full publisher description 885 characters
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. (CVE-2024-34064)
Solution
Run yum update python3-jinja2 or yum update --advisory ALAS2-2024-2573 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 2 occurrences-
1python3-jinja2
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- python3-jinja2-2.7.2-4.amzn2.0.4.noarch
-
2python3-jinja2
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- python3-jinja2-2.7.2-4.amzn2.0.4.src
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
2- CVE-2024-34064 https://access.redhat.com/security/cve/CVE-2024-34064
- CVE-2024-34064 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-34064
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2024-2573.html | Unknown | d42435344a7653bfe8ec07d1e92bf2270ddd2f0f326d5b51cd07fb54d4174b96 | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2024-2573.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2024-2573.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |