<?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-0021</id>
    <title>An update for perl is now available for HCE 2.0</title>
    <severity>Important</severity>
    <release>HCE 2.0</release>
    <issued date="2024-01-03 03:35:57"/>
    <updated date="2024-01-03 03:35:57"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2023-47039" id="CVE-2023-47039" title="CVE-2023-47039 Base Score: 7.3 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2023-47038" id="CVE-2023-47038" title="CVE-2023-47038 Base Score: 6.5 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L" type="cve"/>
    </references>
    <description>Security Fix(es):

Perl for Windows relies on the system path environment variable to find the shell (cmd.exe). When running an executable which uses Windows Perl interpreter, Perl attempts to find and execute cmd.exe within the operating system. However, due to path search order issues, Perl initially looks for cmd.exe in the current working directory.
An attacker with limited privileges can exploit this behavior by placing cmd.exe in locations with weak permissions, such as C:\ProgramData. By doing so, when an administrator attempts to use this executable from these compromised locations, arbitrary code can be executed. (CVE-2023-47039)

A crafted regular expression when compiled by perl 5.30.0 through 5.38.0 can cause a one-byte attacker controlled buffer overflow in a heap allocated buffer. (CVE-2023-47038)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="perl">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="perl" version="5.34.0" release="3.r12.hce2">
          <filename>perl-5.34.0-3.r12.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="perl-devel" version="5.34.0" release="3.r12.hce2">
          <filename>perl-devel-5.34.0-3.r12.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="perl-help" version="5.34.0" release="3.r12.hce2">
          <filename>perl-help-5.34.0-3.r12.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="perl-libs" version="5.34.0" release="3.r12.hce2">
          <filename>perl-libs-5.34.0-3.r12.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="perl" version="5.34.0" release="3.r12.hce2">
          <filename>perl-5.34.0-3.r12.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="perl-devel" version="5.34.0" release="3.r12.hce2">
          <filename>perl-devel-5.34.0-3.r12.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="perl-libs" version="5.34.0" release="3.r12.hce2">
          <filename>perl-libs-5.34.0-3.r12.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
