<?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>HCE3-SA-2026-0040</id>
    <title>An update for tar is now available for HCE 3.0</title>
    <severity>Moderate</severity>
    <release>HCE 3.0</release>
    <issued date="2026-03-02 12:29:06"/>
    <updated date="2026-03-02 12:29:06"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-45582" id="CVE-2025-45582" title="CVE-2025-45582 Base Score: 4.1 Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:L" type="cve"/>
    </references>
    <description>Security Fix(es):

GNU Tar through 1.35 allows file overwrite via directory traversal in crafted TAR archives, with a certain two-step process. First, the victim must extract an archive that contains a ../ symlink to a critical directory. Second, the victim must extract an archive that contains a critical file, specified via a relative pathname that begins with the symlink name and ends with that critical file_x27;s name. Here, the extraction follows the symlink and overwrites the critical file. This bypasses the protection mechanism of &quot;Member name contains _x27;.._x27;&quot; that would occur for a single TAR archive that attempted to specify the critical file via a ../ approach. For example, the first archive can contain &quot;x -&gt; ../../../../../home/victim/.ssh&quot; and the second archive can contain x/authorized_keys. This can affect server applications that automatically extract any number of user-supplied TAR archives, and were relying on the blocking of traversal. This can also affect software installation processes in which &quot;tar xf&quot; is run more than once (e.g., when installing a package can automatically install two dependencies that are set up as untrusted tarballs instead of official packages). NOTE: the official GNU Tar manual has an otherwise-empty directory for each &quot;tar xf&quot; in its Security Rules of Thumb; however, third-party advice leads users to run &quot;tar xf&quot; more than once into the same directory. (CVE-2025-45582)
</description>
    <pkglist>
      <collection short="HCE 3.0" package="tar">
        <name>HCE 3.0</name>
        <package arch="x86_64" name="tar" version="1.35" release="2.r2.hce3">
          <filename>tar-1.35-2.r2.hce3.x86_64.rpm</filename>
        </package>
        <package arch="noarch" name="tar-help" version="1.35" release="2.r2.hce3">
          <filename>tar-help-1.35-2.r2.hce3.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="tar" version="1.35" release="2.r2.hce3">
          <filename>tar-1.35-2.r2.hce3.aarch64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
