CVE-2024-31144
LOW 3.8CVSS 3.1For a brief summary of Xapi terminology, see:
https://xapi-project.github.io/xen-api/overview.html#object-model-overview
Xapi contains functionality to backup and restore metadata about Virtual
Machines and Storage Repositories (SRs).
The metadata itself is stored in a Virtual Disk Image (VDI) inside an
SR. This is used for two purposes; a general backup of metadata
(e.g. to recover from a host failure if the filer is still good), and
Portable SRs (e.g. using an external hard drive to move VMs to another
host).
Metadata is only restored as an explicit administrator action, but
occurs in cases where the host has no information about the SR, and must
locate the metadata VDI in order to retrieve the metadata.
The metadata VDI is located by searching (in UUID alphanumeric order)
each VDI, mounting it, and seeing if there is a suitable metadata file
present. The first matching VDI is deemed to be the metadata VDI, and
is restored from.
In the general case, the content of VDIs are controlled by the VM owner,
and should not be trusted by the host administrator.
A malicious guest can manipulate its disk to appear to be a metadata
backup.
A guest cannot choose the UUIDs of its VDIs, but a guest with one disk
has a 50% chance of sorting ahead of the legitimate metadata backup. A
guest with two disks has a 75% chance, etc.
- Published
- 14 Feb 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security@xen.org
- NVD status
- Analyzed
- Weakness
- CWE-829
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | LOW 3.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xen | xapicpe:2.3:o:xen:xapi:*:*:*:*:*:*:*:* |
>= 1.249.0, <= 1.249.37 |
References
- https://xenbits.xen.org/xsa/advisory-459.html · Patch, Vendor Advisory
- http://www.openwall.com/lists/oss-security/2024/07/16/4 · Mailing List, Third Party Advisory
- http://xenbits.xen.org/xsa/advisory-459.html · Patch, Vendor Advisory
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 14 Feb 2025)