<?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-0172</id>
    <title>An update for uboot-tools is now available for HCE 2.0</title>
    <severity>Important</severity>
    <release>HCE 2.0</release>
    <issued date="2025-05-20 06:43:09"/>
    <updated date="2025-05-20 06:43:09"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-57254" id="CVE-2024-57254" title="CVE-2024-57254 Base Score: 7.1 Vector: CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-57255" id="CVE-2024-57255" title="CVE-2024-57255 Base Score: 7.1 Vector: CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-57259" id="CVE-2024-57259" title="CVE-2024-57259 Base Score: 7.1 Vector: CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-57258" id="CVE-2024-57258" title="CVE-2024-57258 Base Score: 7.1 Vector: CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-57256" id="CVE-2024-57256" title="CVE-2024-57256 Base Score: 7.1 Vector: CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-57257" id="CVE-2024-57257" title="CVE-2024-57257 Base Score: 2.0 Vector: CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L" type="cve"/>
    </references>
    <description>Security Fix(es):

An integer overflow in sqfs_inode_size in Das U-Boot before 2025.01-rc1 occurs in the symlink size calculation via a crafted squashfs filesystem. (CVE-2024-57254)

An integer overflow in sqfs_resolve_symlink in Das U-Boot before 2025.01-rc1 occurs via a crafted squashfs filesystem with an inode size of 0xffffffff, resulting in a malloc of zero and resultant memory overwrite. (CVE-2024-57255)

sqfs_search_dir in Das U-Boot before 2025.01-rc1 exhibits an off-by-one error and resultant heap memory corruption for squashfs directory listing because the path separator is not considered in a size calculation. (CVE-2024-57259)

Integer overflows in memory allocation in Das U-Boot before 2025.01-rc1 occur for a crafted squashfs filesystem via sbrk, via request2size, or because ptrdiff_t is mishandled on x86_64. (CVE-2024-57258)

An integer overflow in ext4fs_read_symlink in Das U-Boot before 2025.01-rc1 occurs for zalloc (adding one to an le32 variable) via a crafted ext4 filesystem with an inode size of 0xffffffff, resulting in a malloc of zero and resultant memory overwrite. (CVE-2024-57256)

A stack consumption issue in sqfs_size in Das U-Boot before 2025.01-rc1 occurs via a crafted squashfs filesystem with deep symlink nesting. (CVE-2024-57257)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="uboot-tools">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="uboot-tools" version="2021.10" release="7.r2.hce2">
          <filename>uboot-tools-2021.10-7.r2.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="uboot-tools-help" version="2021.10" release="7.r2.hce2">
          <filename>uboot-tools-help-2021.10-7.r2.hce2.noarch.rpm</filename>
        </package>
        <package arch="x86_64" name="uboot-tools" version="2021.10" release="7.r2.hce2">
          <filename>uboot-tools-2021.10-7.r2.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
