Vulnerability · Published Jan 5, 2024 · Assigned by XEN

CVE-2023-34325Multiple vulnerabilities in libfsimage disk handling

High 7.8

In plain English

A high-severity out-of-bounds write in Xen from Xen. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.3%top 82.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

[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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20xen4.17.2-r3ALPINE-CVE-2023-34325
Alpine:v3.21xen4.17.2-r3ALPINE-CVE-2023-34325
Alpine:v3.22xen4.17.2-r3ALPINE-CVE-2023-34325
Alpine:v3.23xen4.17.2-r3ALPINE-CVE-2023-34325
Alpine:v3.24xen4.17.2-r3ALPINE-CVE-2023-34325
Debian:12xen4.17.2+76-ge1f9cb16e2-1~deb12u1DEBIAN-CVE-2023-34325
Debian:13xen4.17.2+55-g0b56bed864-1DEBIAN-CVE-2023-34325
Debian:14xen4.17.2+55-g0b56bed864-1DEBIAN-CVE-2023-34325
Ubuntu:22.04:LTSxenno fix listedUBUNTU-CVE-2023-34325
Ubuntu:24.04:LTSxenno fix listedUBUNTU-CVE-2023-34325
Ubuntu:25.10xenno fix listedUBUNTU-CVE-2023-34325
Ubuntu:26.04:LTSxenno fix listedUBUNTU-CVE-2023-34325
Ubuntu:26.10xenno fix listedUBUNTU-CVE-2023-34325

Affected products (as reported)

VendorProductVersions
Xen Xen see references

Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References