<?xml version="1.0" encoding="utf-8"?>
  <?xml-stylesheet type="text/xsl" href="sa-render.xsl"?>
  <update from="huaweicloud.com" type="security" status="stable" version="1">
    <id>HCE2-SA-2025-0128</id>
    <title>An update for python-jinja2 is now available for HCE 2.0</title>
    <severity>Important</severity>
    <release>HCE 2.0</release>
    <issued date="2025-03-15 12:21:02"/>
    <updated date="2025-03-15 12:21:02"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-56201" id="CVE-2024-56201" title="CVE-2024-56201 Base Score: 7.3 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H" type="cve"/>
    </references>
    <description>Security Fix(es):

Jinja is an extensible templating engine. In versions on the 3.x branch prior to 3.1.5, a bug in the Jinja compiler allows an attacker that controls both the content and filename of a template to execute arbitrary Python code, regardless of if Jinja_x27;s sandbox is used. To exploit the vulnerability, an attacker needs to control both the filename and the contents 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 where the template author can also choose the template filename. This vulnerability is fixed in 3.1.5. (CVE-2024-56201)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="python-jinja2">
        <name>HCE 2.0</name>
        <package arch="noarch" name="python3-jinja2" version="3.0.3" release="1.r5.hce2">
          <filename>python3-jinja2-3.0.3-1.r5.hce2.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="python-jinja2-help" version="3.0.3" release="1.r5.hce2">
          <filename>python-jinja2-help-3.0.3-1.r5.hce2.noarch.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
