libfsimage 磁盘处理中的多个漏洞 (CVE-2023-34325)

CVE编号

CVE-2023-34325

利用情况

暂无

补丁情况

N/A

披露时间

2024-01-06
漏洞描述

[This CNA information record relates to multiple CVEs; the
text explains which aspects/vulnerabilities correspond to which CVE.]

libfsimage contains parsing code for several filesystems, most of them based on
grub-legacy code. libfsimage is used by pygrub to inspect guest disks.

Pygrub runs as the same user as the toolstack (root in a priviledged domain).

At least one issue has been reported to the Xen Security Team that allows an
attacker to trigger a stack buffer overflow in libfsimage. After further
analisys the Xen Security Team is no longer confident in the suitability of
libfsimage when run against guest controlled input with super user priviledges.

In order to not affect current deployments that rely on pygrub patches are
provided in the resolution section of the advisory that allow running pygrub in
deprivileged mode.

CVE-2023-4949 refers to the original issue in the upstream grub
project ("An attacker with local access to a system (either through a
disk or external drive) can present a modified XFS partition to
grub-legacy in such a way to exploit a memory corruption in grub’s XFS
file system implementation.") CVE-2023-34325 refers specifically to
the vulnerabilities in Xen's copy of libfsimage, which is decended
from a very old version of grub.

解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
系统 alpine_3.15 xen * Up to
(excluding)
4.15.5-r3
运行在以下环境
系统 alpine_3.16 xen * Up to
(excluding)
4.16.5-r3
运行在以下环境
系统 alpine_3.17 xen * Up to
(excluding)
4.16.5-r3
运行在以下环境
系统 alpine_3.18 xen * Up to
(excluding)
4.17.2-r3
运行在以下环境
系统 alpine_3.19 xen * Up to
(excluding)
4.17.2-r3
运行在以下环境
系统 debian_12 xen * Up to
(excluding)
4.17.2+76-ge1f9cb16e2-1~deb12u1
运行在以下环境
系统 fedora_37 xen * Up to
(excluding)
4.16.5-3.fc37
运行在以下环境
系统 fedora_38 xen * Up to
(excluding)
4.17.2-4.fc38
运行在以下环境
系统 fedora_39 xen * Up to
(excluding)
4.17.2-4.fc39
运行在以下环境
系统 opensuse_5.3 xen-libs * Up to
(excluding)
4.16.5_08-150400.4.40.1
运行在以下环境
系统 opensuse_5.4 xen-libs * Up to
(excluding)
4.16.5_08-150400.4.40.1
运行在以下环境
系统 opensuse_Leap_15.4 xen * Up to
(excluding)
4.16.5_06-150400.4.37.1
运行在以下环境
系统 opensuse_Leap_15.5 xen * Up to
(excluding)
4.17.2_06-150500.3.12.1
运行在以下环境
系统 suse_12_SP5 xen * Up to
(excluding)
4.12.4_40-3.97.1
运行在以下环境
系统 xen xen * -
CVSS3评分
7.8
  • 攻击路径
    本地
  • 攻击复杂度
  • 权限要求
  • 影响范围
    未更改
  • 用户交互
  • 可用性
  • 保密性
  • 完整性
CWE-ID 漏洞类型
CWE-787 跨界内存写
阿里云安全产品覆盖情况