<?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-0249</id>
    <title>An update for python3 is now available for HCE 2.0</title>
    <severity>Critical</severity>
    <release>HCE 2.0</release>
    <issued date="2025-09-23 11:51:50"/>
    <updated date="2025-09-23 11:51:50"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-4517" id="CVE-2025-4517" title="CVE-2025-4517 Base Score: 9.4 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L" type="cve"/>
    </references>
    <description>Security Fix(es):

Allows arbitrary filesystem writes outside the extraction directory during extraction with filter=&quot;data&quot;.


You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives using TarFile.extractall() or TarFile.extract() using the filter= parameter with a value of &quot;data&quot; or &quot;tar&quot;. See the tarfile  extraction filters documentation https://docs.python.org/3/library/tarfile.html#tarfile-extraction-filter  for more information.

Note that for Python 3.14 or later the default value of filter= changed from &quot;no filtering&quot; to `&quot;data&quot;, so if you are relying on this new default behavior then your usage is also affected.

Note that none of these vulnerabilities significantly affect the installation of source distributions which are tar archives as source distributions already allow arbitrary code execution during the build process. However when evaluating source distributions it_x27;s important to avoid installing source distributions with suspicious links. (CVE-2025-4517)
</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.r34.hce2">
          <filename>python3-3.9.9-7.r34.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="python3-devel" version="3.9.9" release="7.r34.hce2">
          <filename>python3-devel-3.9.9-7.r34.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="python3-help" version="3.9.9" release="7.r34.hce2">
          <filename>python3-help-3.9.9-7.r34.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="python3-unversioned-command" version="3.9.9" release="7.r34.hce2">
          <filename>python3-unversioned-command-3.9.9-7.r34.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="python3" version="3.9.9" release="7.r34.hce2">
          <filename>python3-3.9.9-7.r34.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="python3-devel" version="3.9.9" release="7.r34.hce2">
          <filename>python3-devel-3.9.9-7.r34.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="python3-unversioned-command" version="3.9.9" release="7.r34.hce2">
          <filename>python3-unversioned-command-3.9.9-7.r34.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
