
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-34325 is a vulnerability in Xen's libfsimage component, which contains parsing code for several filesystems based on grub-legacy code. The vulnerability was discovered by Ferdinand Nölscher of Google and publicly disclosed on January 5, 2024. The issue affects all Xen versions and specifically relates to libfsimage being used by pygrub to inspect guest disks, where pygrub runs with root privileges in a privileged domain (Xen Advisory).
The vulnerability involves a stack buffer overflow in libfsimage that can be triggered when processing guest-controlled input. The issue stems from Xen's copy of libfsimage, which is descended from a very old version of grub. The vulnerability has been assigned a CVSS v3.1 Base Score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating local access requirements but high impact potential (NVD).
A successful exploitation of this vulnerability allows a guest using pygrub to escalate its privileges to that of the domain construction tools, which typically means gaining control of the host system. This represents a significant security risk as it enables complete compromise of the host system through guest access (Xen Advisory).
Several mitigation options are available: 1) Ensure guests do not use the pygrub bootloader, 2) For 64-bit PV guests using grub2 as a bootloader, use pvgrub as an alternative to pygrub, 3) Run only HVM guests to avoid the vulnerability entirely. Additionally, patches have been provided to run pygrub in a deprivileged mode using a specific UID, with configuration available through the bootloader_restrict option in xl.cfg (Xen Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."