CVEfocus › CVE database › CVE-2023-34325

CVE-2023-34325Multiple vulnerabilities in libfsimage disk handling

CVSS 7.8 HighEPSS 0.3% (higher than 17% of CVEs)Published 2024-01-05Updated 2025-11-04Assigner: XEN

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

CWE-787

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

13Fixed
1Fix pending
3Under investigation
5Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10xenFix pendingUBUNTU-CVE-2023-34325
Ubuntu 26.04xenUnder investigationUBUNTU-CVE-2023-34325
Ubuntu 25.10xenWill not fix
hypervisor packages are in universe. For issues in the hypervisor, add appropriate tags to each section, ex: Tags_xen: universe-binary
UBUNTU-CVE-2023-34325
Ubuntu 24.04xenUnder investigationUBUNTU-CVE-2023-34325
Ubuntu 22.04xenUnder investigationUBUNTU-CVE-2023-34325
Ubuntu 20.04xenWill not fix
hypervisor packages are in universe. For issues in the hypervisor, add appropriate tags to each section, ex: Tags_xen: universe-binary
UBUNTU-CVE-2023-34325
Ubuntu 18.04xenWill not fix
hypervisor packages are in universe. For issues in the hypervisor, add appropriate tags to each section, ex: Tags_xen: universe-binary
UBUNTU-CVE-2023-34325
Ubuntu 16.04xenWill not fix
hypervisor packages are in universe. For issues in the hypervisor, add appropriate tags to each section, ex: Tags_xen: universe-binary
UBUNTU-CVE-2023-34325
Ubuntu 14.04xenWill not fix
hypervisor packages are in universe. For issues in the hypervisor, add appropriate tags to each section, ex: Tags_xen: universe-binary
Debian 14xenFixed4.17.2+55-g0b56bed864-1DEBIAN-CVE-2023-34325
Debian 13xenFixed4.17.2+55-g0b56bed864-1DEBIAN-CVE-2023-34325
Debian 12xenFixed4.17.2+76-ge1f9cb16e2-1~deb12u1DEBIAN-CVE-2023-34325
Alpine Linux 3.24xenFixed4.17.2-r3ALPINE-CVE-2023-34325
Alpine Linux 3.23xenFixed4.17.2-r3ALPINE-CVE-2023-34325
Alpine Linux 3.22xenFixed4.17.2-r3ALPINE-CVE-2023-34325
Alpine Linux 3.21xenFixed4.17.2-r3ALPINE-CVE-2023-34325
Alpine Linux 3.20xenFixed4.17.2-r3ALPINE-CVE-2023-34325
Alpine Linux 3.19xenFixed4.17.2-r3ALPINE-CVE-2023-34325
Alpine Linux 3.18xenFixed4.17.2-r3ALPINE-CVE-2023-34325
Alpine Linux 3.17xenFixed4.16.5-r3ALPINE-CVE-2023-34325
Alpine Linux 3.16xenFixed4.16.5-r3ALPINE-CVE-2023-34325
Alpine Linux 3.15xenFixed4.15.5-r3ALPINE-CVE-2023-34325

What the vendor says

As published in the CVE record by XEN, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Ensuring that guests do not use the pygrub bootloader will avoid this vulnerability. For cases where the PV guest is known to be 64bit, and uses grub2 as a bootloader, pvgrub is a suitable alternative pygrub. Running only HVM guests will avoid the vulnerability.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.