• 公告ID (KylinSec-SA-2025-1613)

摘要:

uboot-tools security update

安全等级: High

公告ID: KylinSec-SA-2025-1613

发布日期: 2025年3月18日

关联CVE: CVE-2024-57254   CVE-2024-57255   CVE-2024-57256   CVE-2024-57257   CVE-2024-57258   CVE-2024-57259  

  • 详细介绍

1. 漏洞描述

   

This package includes the mkimage program, which allows generation of U-Boot images in various formats, and the fw_printenv and fw_setenv programs to read and modify U-Boot's environment.

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)

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)

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)

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)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2024-57254 V6 uboot-tools Fixed
CVE-2024-57255 V6 uboot-tools Fixed
CVE-2024-57256 V6 uboot-tools Fixed
CVE-2024-57257 V6 uboot-tools Fixed
CVE-2024-57258 V6 uboot-tools Fixed
CVE-2024-57259 V6 uboot-tools Fixed

3. 影响组件

    uboot-tools

4. 修复版本

   

V6

软件名称 架构 版本号
uboot-images-armv8 noarch 2024.01-2.ks6
uboot-tools-help noarch 2024.01-2.ks6
uboot-tools x86_64 2024.01-2.ks6
uboot-images-elf aarch64 2024.01-2.ks6
uboot-tools aarch64 2024.01-2.ks6

5. 修复方法


方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm

方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名

6. 下载链接

   

V6:

x86_64:

     uboot-images-armv8   

     uboot-tools-help   

     uboot-tools   

aarch64:

     uboot-images-armv8   

     uboot-tools-help   

     uboot-images-elf   

     uboot-tools   

上一篇:KylinSec-SA-2025-1612 下一篇:KylinSec-SA-2025-1614