python-jinja2-2.10.1-6.el8_10

エラータID: AXSA:2025-9599:02

Release date: 
Thursday, January 30, 2025 - 15:29
Subject: 
python-jinja2-2.10.1-6.el8_10
Affected Channels: 
Asianux Server 8 for x86_64
Severity: 
High
Description: 

Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems.

Security Fix(es):

* jinja2: Jinja has a sandbox breakout through indirect reference to format method (CVE-2024-56326)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

CVE-2024-56326
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.

Solution: 

Update packages.

Additional Info: 

N/A

Download: 

SRPMS
  1. python-jinja2-2.10.1-6.el8_10.src.rpm
    MD5: 1d09d3f06e9ded9e265a975b7aabf66d
    SHA-256: e3ed1f5535f4b456324674ab505421ff5b5a0caa466adf27e3cabf369c213240
    Size: 280.06 kB

Asianux Server 8 for x86_64
  1. python3-jinja2-2.10.1-6.el8_10.noarch.rpm
    MD5: 22bd1883537f97d48d712cb19b2704ec
    SHA-256: a94300fd8d60beb2a1af03a93e07a440d27741cb1175ec828a2282056a76c1b2
    Size: 537.53 kB