<?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-2022-0046</id>
    <title>An update for python3 is now available for HCE 2.0</title>
    <severity>Important</severity>
    <release>HCE 2.0</release>
    <issued date="2022-10-08 17:46:41"/>
    <updated date="2022-10-08 17:46:41"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2020-10735" id="CVE-2020-10735" title="CVE-2020-10735 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-2021-28861" id="CVE-2021-28861" title="CVE-2021-28861 Base Score: 7.4 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N" type="cve"/>
    </references>
    <description>Security Fix(es):

A flaw was found in python. In algorithms with quadratic time complexity using non-binary bases, when using int(&quot;text&quot;), a system could take 50ms to parse an int string with 100,000 digits and 5s for 1,000,000 digits (float, decimal, int.from_bytes(), and int() for binary bases 2, 4, 8, 16, and 32 are not affected). The highest threat from this vulnerability is to system availability. (CVE-2020-10735)

Python 3.x through 3.10 has an open redirection vulnerability in lib/http/server.py due to no protection against multiple (/) at the beginning of URI path which may leads to information disclosure. (CVE-2021-28861)
</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.r11.hce2">
          <filename>python3-3.9.9-7.r11.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="python3-devel" version="3.9.9" release="7.r11.hce2">
          <filename>python3-devel-3.9.9-7.r11.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="python3-help" version="3.9.9" release="7.r11.hce2">
          <filename>python3-help-3.9.9-7.r11.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="python3-unversioned-command" version="3.9.9" release="7.r11.hce2">
          <filename>python3-unversioned-command-3.9.9-7.r11.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="python3" version="3.9.9" release="7.r11.hce2">
          <filename>python3-3.9.9-7.r11.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="python3-devel" version="3.9.9" release="7.r11.hce2">
          <filename>python3-devel-3.9.9-7.r11.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="python3-unversioned-command" version="3.9.9" release="7.r11.hce2">
          <filename>python3-unversioned-command-3.9.9-7.r11.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
