Lucene search

K
xenXen ProjectXSA-326
HistoryNov 01, 2022 - 10:57 a.m.

Xenstore: guests can let run xenstored out of memory

2022-11-0110:57:00
Xen Project
xenbits.xen.org
18

6.5 Medium

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H

1.7 Low

CVSS2

Access Vector

LOCAL

Access Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:L/AC:L/Au:S/C:N/I:N/A:P

0.0004 Low

EPSS

Percentile

13.3%

ISSUE DESCRIPTION

Malicious guests can cause xenstored to allocate vast amounts of memory, eventually resulting in a Denial of Service (DoS) of xenstored.
There are multiple ways how guests can cause large memory allocations in xenstored:

    • by issuing new requests to xenstored without reading the responses, causing the responses to be buffered in memory
    • by causing large number of watch events to be generated via setting up multiple xenstore watches and then e.g. deleting many xenstore nodes below the watched path
    • by creating as many nodes as allowed with the maximum allowed size and path length in as many transactions as possible
    • by accessing many nodes inside a transaction

IMPACT

Unprivileged guests can cause a DoS of xenstored, resulting in the inability to create new guests or modify the configuration of running guests.

VULNERABLE SYSTEMS

All Xen versions are vulnerable.
Both Xenstore implementations (C and Ocaml) are vulnerable.

CPENameOperatorVersion
xeneqany

6.5 Medium

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H

1.7 Low

CVSS2

Access Vector

LOCAL

Access Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:L/AC:L/Au:S/C:N/I:N/A:P

0.0004 Low

EPSS

Percentile

13.3%