<?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-2024-0178</id>
    <title>An update for python3 is now available for HCE 2.0</title>
    <severity>Important</severity>
    <release>HCE 2.0</release>
    <issued date="2024-06-28 03:57:40"/>
    <updated date="2024-06-28 03:57:40"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2023-6597" id="CVE-2023-6597" title="CVE-2023-6597 Base Score: 7.8 Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2015-20107" id="CVE-2015-20107" title="CVE-2015-20107 Base Score: 7.6 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-0450" id="CVE-2024-0450" title="CVE-2024-0450 Base Score: 6.2 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" type="cve"/>
    </references>
    <description>Security Fix(es):

An issue was found in the CPython `tempfile.TemporaryDirectory` class affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior.

The tempfile.TemporaryDirectory class would dereference symlinks during cleanup of permissions-related errors. This means users which can run privileged programs are potentially able to modify permissions of files referenced by symlinks in some circumstances.
 (CVE-2023-6597)

In Python (aka CPython) up to 3.10.8, the mailcap module does not add escape characters into commands discovered in the system mailcap file. This may allow attackers to inject shell commands into applications that call mailcap.findmatch with untrusted input (if they lack validation of user-provided filenames or arguments). The fix is also back-ported to 3.7, 3.8, 3.9 (CVE-2015-20107)

An issue was found in the CPython `zipfile` module affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior.

The zipfile module is vulnerable to “quoted-overlap” zip-bombs which exploit the zip format to create a zip-bomb with a high compression ratio. The fixed versions of CPython makes the zipfile module reject zip archives which overlap entries in the archive.

 (CVE-2024-0450)
</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.r26.hce2">
          <filename>python3-3.9.9-7.r26.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="python3-devel" version="3.9.9" release="7.r26.hce2">
          <filename>python3-devel-3.9.9-7.r26.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="python3-help" version="3.9.9" release="7.r26.hce2">
          <filename>python3-help-3.9.9-7.r26.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="python3-unversioned-command" version="3.9.9" release="7.r26.hce2">
          <filename>python3-unversioned-command-3.9.9-7.r26.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="python3" version="3.9.9" release="7.r26.hce2">
          <filename>python3-3.9.9-7.r26.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="python3-devel" version="3.9.9" release="7.r26.hce2">
          <filename>python3-devel-3.9.9-7.r26.hce2.x86_64.rpm</filename>
        </package>
        <package arch="noarch" name="python3-help" version="3.9.9" release="7.r26.hce2">
          <filename>python3-help-3.9.9-7.r26.hce2.noarch.rpm</filename>
        </package>
        <package arch="x86_64" name="python3-unversioned-command" version="3.9.9" release="7.r26.hce2">
          <filename>python3-unversioned-command-3.9.9-7.r26.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
