ALAS2023-2025-810
Active ImportantALAS2023-2025-810 (important): python-jinja2
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 1 records
| CVE | Relationship | Publisher CVE field | Publisher evidence |
|---|---|---|---|
| CVE-2024-56326 | Listed by advisoryExact relationship valueadvisory_list | Publisher referencesExact field valuereferences | https://alas.aws.amazon.com/AL2023/ALAS2023-2025-810.html |
Description
Jinja is an extensible templating engine. Prior to 3.1.5, An oversight in how the Jinja sandboxed environment detects calls to str.format allows an attacker that controls the content of a template to execute arbitrary Python code. To exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the
Read full publisher description 913 characters
Jinja is an extensible templating engine. Prior to 3.1.5, An oversight in how the Jinja sandboxed environment detects calls to str.format allows an attacker that controls the content of a template to execute arbitrary Python code. To exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates. Jinja's sandbox does catch calls to str.format and ensures they don't escape the sandbox. However, it's possible to store a reference to a malicious string's format method, then pass that to a filter that calls it. No such filters are built-in to Jinja, but could be present through custom filters in an application. After the fix, such indirect calls are also handled by the sandbox. This vulnerability is fixed in 3.1.5. (CVE-2024-56326)
Solution
Run dnf update python-jinja2 --releasever 2023.6.20250123 or dnf update --advisory ALAS2023-2025-810 --releasever 2023.6.20250123 to update your system. More information on how to update your system can be found on this page: Amazon Linux 2023 documentation
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-
1python-jinja2
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- python3-jinja2-2.11.3-1.amzn2023.0.5.noarch
-
2python-jinja2
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- python-jinja2-2.11.3-1.amzn2023.0.5.src
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
3- Amazon Linux 2023 Release Notes https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes.html
- CVE-2024-56326 https://access.redhat.com/security/cve/CVE-2024-56326
- CVE-2024-56326 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-56326
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/AL2023/ALAS2023-2025-810.html | Unknown | 9e3ef76d0e1bef37e0e1bf19535c24bc3dd7ce74f1681a0ebb8cd4d14b0b7cbb | amazon-alas/1 | 2026-09-26T02:11:55Z |
| rss_entry | https://alas.aws.amazon.com/AL2023/ALAS2023-2025-810.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T02:11:55Z |
| catalog_entry | https://alas.aws.amazon.com/AL2023/ALAS2023-2025-810.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T02:11:55Z |