摘要:
libblockdev security update
安全等级: High
公告ID: KylinSec-SA-2025-2726
发布日期: 2025年7月4日
关联CVE: CVE-2025-6019
libblockdev is a C library supporting GObject introspection for manipulation of block devices. It has a plugin-based architecture where each technology (like LVM, Btrfs, MD RAID, Swap...) is implemented in a separate plugin, possibly with multiple implementations (e.g. using LVM CLI or the new LVM DBus API).
Security Fix(es):
A Local Privilege Escalation (LPE) vulnerability was found in libblockdev. Generally, the "allow_active" setting in Polkit permits a physically present user to take certain actions based on the session type. Due to the way libblockdev interacts with the udisks daemon, an "allow_active" user on a system may be able escalate to full root privileges on the target host. Normally, udisks mounts user-provided filesystem images with security flags like nosuid and nodev to prevent privilege escalation. However, a local attacker can create a specially crafted XFS image containing a SUID-root shell, then trick udisks into resizing it. This mounts their malicious filesystem with root privileges, allowing them to execute their SUID-root shell and gain complete control of the system.(CVE-2025-6019)
cve名称 | 产品 | 组件 | 是否受影响 |
---|---|---|---|
CVE-2025-6019 | KY3.4-5A | libblockdev | Fixed |
CVE-2025-6019 | V6 | libblockdev | Fixed |
CVE-2025-6019 | KY3.5.3 | libblockdev | Fixed |
软件名称 | 架构 | 版本号 |
---|---|---|
libblockdev | x86_64 | 2.24-9.kb1.ky3_4 |
libblockdev-devel | x86_64 | 2.24-9.kb1.ky3_4 |
libblockdev-tools | x86_64 | 2.24-9.kb1.ky3_4 |
python2-blockdev | x86_64 | 2.24-9.kb1.ky3_4 |
python3-blockdev | x86_64 | 2.24-9.kb1.ky3_4 |
libblockdev | aarch64 | 2.24-9.kb1.ky3_4 |
libblockdev-devel | aarch64 | 2.24-9.kb1.ky3_4 |
libblockdev-tools | aarch64 | 2.24-9.kb1.ky3_4 |
python2-blockdev | aarch64 | 2.24-9.kb1.ky3_4 |
python3-blockdev | aarch64 | 2.24-9.kb1.ky3_4 |
软件名称 | 架构 | 版本号 |
---|---|---|
libblockdev | x86_64 | 2.26-5.ky3_5 |
libblockdev-devel | x86_64 | 2.26-5.ky3_5 |
libblockdev-tools | x86_64 | 2.26-5.ky3_5 |
python3-blockdev | x86_64 | 2.26-5.ky3_5 |
libblockdev | aarch64 | 2.26-5.ky3_5 |
libblockdev-devel | aarch64 | 2.26-5.ky3_5 |
libblockdev-tools | aarch64 | 2.26-5.ky3_5 |
python3-blockdev | aarch64 | 2.26-5.ky3_5 |
软件名称 | 架构 | 版本号 |
---|---|---|
libblockdev | x86_64 | 3.0.4-10.ks6 |
libblockdev-devel | x86_64 | 3.0.4-10.ks6 |
libblockdev-tools | x86_64 | 3.0.4-10.ks6 |
python3-blockdev | x86_64 | 3.0.4-10.ks6 |
libblockdev | aarch64 | 3.0.4-10.ks6 |
libblockdev-devel | aarch64 | 3.0.4-10.ks6 |
libblockdev-tools | aarch64 | 3.0.4-10.ks6 |
python3-blockdev | aarch64 | 3.0.4-10.ks6 |
方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm
方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名