<?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-0289</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-10-22 09:34:00"/>
    <updated date="2025-10-22 09:34:00"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-6069" id="CVE-2025-6069" title="CVE-2025-6069 Base Score: 4.3 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-8194" id="CVE-2025-8194" title="CVE-2025-8194 Base Score: 7.5 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-1795" id="CVE-2025-1795" title="CVE-2025-1795 Base Score: 3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-4516" id="CVE-2025-4516" title="CVE-2025-4516 Base Score: 5.1 Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H" type="cve"/>
    </references>
    <description>Security Fix(es):

The html.parser.HTMLParser class had worse-case quadratic complexity when processing certain crafted malformed inputs potentially leading to amplified denial-of-service. (CVE-2025-6069)

There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs. The tar implementation would process tar archives with negative offsets without error, resulting in an infinite loop and deadlock during the parsing of maliciously crafted tar archives. 

This vulnerability can be mitigated by including the following patch after importing the “tarfile” module:  https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1 (CVE-2025-8194)

During an address list folding when a separating comma ends up on a folded line and that line is to be unicode-encoded then the separator itself is also unicode-encoded. Expected behavior is that the separating comma remains a plan comma. This can result in the address header being misinterpreted by some mail servers. (CVE-2025-1795)

There is an issue in CPython when using `bytes.decode(&quot;unicode_escape&quot;, error=&quot;ignore|replace&quot;)`. If you are not using the &quot;unicode_escape&quot; encoding or an error handler your usage is not affected. To work-around this issue you may stop using the error= handler and instead wrap the bytes.decode() call in a try-except catching the DecodeError. (CVE-2025-4516)
</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.r36.hce2">
          <filename>python3-3.9.9-7.r36.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="python3-devel" version="3.9.9" release="7.r36.hce2">
          <filename>python3-devel-3.9.9-7.r36.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="python3-help" version="3.9.9" release="7.r36.hce2">
          <filename>python3-help-3.9.9-7.r36.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="python3-unversioned-command" version="3.9.9" release="7.r36.hce2">
          <filename>python3-unversioned-command-3.9.9-7.r36.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="python3" version="3.9.9" release="7.r36.hce2">
          <filename>python3-3.9.9-7.r36.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="python3-devel" version="3.9.9" release="7.r36.hce2">
          <filename>python3-devel-3.9.9-7.r36.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="python3-unversioned-command" version="3.9.9" release="7.r36.hce2">
          <filename>python3-unversioned-command-3.9.9-7.r36.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
