<?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-0215</id>
    <title>An update for perl is now available for HCE 2.0</title>
    <severity>Moderate</severity>
    <release>HCE 2.0</release>
    <issued date="2025-08-28 06:04:25"/>
    <updated date="2025-08-28 06:04:25"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-40909" id="CVE-2025-40909" title="CVE-2025-40909 Base Score: 5.9 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L" type="cve"/>
    </references>
    <description>Security Fix(es):

Perl threads have a working directory race condition where file operations may target unintended paths.

If a directory handle is open at thread creation, the process-wide current working directory is temporarily changed in order to clone that handle for the new thread, which is visible from any third (or more) thread already running. 

This may lead to unintended operations such as loading code or accessing files from unexpected locations, which a local attacker may be able to exploit.

The bug was introduced in commit 11a11ecf4bea72b17d250cfb43c897be1341861e and released in Perl version 5.13.6 (CVE-2025-40909)
</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.r15.hce2">
          <filename>perl-5.34.0-3.r15.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="perl-devel" version="5.34.0" release="3.r15.hce2">
          <filename>perl-devel-5.34.0-3.r15.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="perl-help" version="5.34.0" release="3.r15.hce2">
          <filename>perl-help-5.34.0-3.r15.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="perl-libs" version="5.34.0" release="3.r15.hce2">
          <filename>perl-libs-5.34.0-3.r15.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="perl" version="5.34.0" release="3.r15.hce2">
          <filename>perl-5.34.0-3.r15.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="perl-devel" version="5.34.0" release="3.r15.hce2">
          <filename>perl-devel-5.34.0-3.r15.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="perl-libs" version="5.34.0" release="3.r15.hce2">
          <filename>perl-libs-5.34.0-3.r15.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
