<?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-0100</id>
    <title>An update for python3 is now available for HCE 2.0</title>
    <severity>Important</severity>
    <release>HCE 2.0</release>
    <issued date="2025-02-27 13:08:34"/>
    <updated date="2025-02-27 13:08:34"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-9287" id="CVE-2024-9287" title="CVE-2024-9287 Base Score: 7.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" type="cve"/>
    </references>
    <description>Security Fix(es):

A vulnerability has been found in the CPython `venv` module and CLI where path names provided when creating a virtual environment were not quoted properly, allowing the creator to inject commands into virtual environment &quot;activation&quot; scripts (ie &quot;source venv/bin/activate&quot;). This means that attacker-controlled virtual environments are able to run commands when the virtual environment is activated. Virtual environments which are not created by an attacker or which aren_x27;t activated before being used (ie &quot;./venv/bin/python&quot;) are not affected. (CVE-2024-9287)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="python3">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="python3" version="3.9.9" release="7.r31.hce2">
          <filename>python3-3.9.9-7.r31.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="python3-devel" version="3.9.9" release="7.r31.hce2">
          <filename>python3-devel-3.9.9-7.r31.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="python3-help" version="3.9.9" release="7.r31.hce2">
          <filename>python3-help-3.9.9-7.r31.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="python3-unversioned-command" version="3.9.9" release="7.r31.hce2">
          <filename>python3-unversioned-command-3.9.9-7.r31.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="python3" version="3.9.9" release="7.r31.hce2">
          <filename>python3-3.9.9-7.r31.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="python3-devel" version="3.9.9" release="7.r31.hce2">
          <filename>python3-devel-3.9.9-7.r31.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="python3-unversioned-command" version="3.9.9" release="7.r31.hce2">
          <filename>python3-unversioned-command-3.9.9-7.r31.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
