5.5

CVE-2021-28687: xen Missing Initialization of Resource

CVSS: 5.5v3.1MediumModified
AliasesALPINE-CVE-2021-28687DEBIAN-CVE-2021-28687
Published 11-06-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-28687 is a medium (CVSS 5.5) Missing Initialization of Resource vulnerability in xen. EPSS estimates a 0.31% chance of exploitation in the next 30 days, higher than 23% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.31%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 4

Timeline

  1. 11-06-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

HVM soft-reset crashes toolstack libxl requires all data structures passed across its public interface to be initialized before use and disposed of afterwards by calling a specific set of functions. Many internal data structures also require this initialize / dispose discipline, but not all of them. When the "soft reset" feature was implemented, the libxl__domain_suspend_state structure didn't require any initialization or disposal. At some point later, an initialization function was introduced for the structure; but the "soft reset" path wasn't refactored to call the initialization function. When a guest nwo initiates a "soft reboot", uninitialized data structure leads to an assert() when later code finds the structure in an unexpected state. The effect of this is to crash the process monitoring the guest. How this affects the system depends on the structure of the toolstack. For xl, this will have no security-relevant effect: every VM has its own independent monitoring process, which contains no state. The domain in question will hang in a crashed state, but can be destroyed by `xl destroy` just like any other non-cooperating domain. For daemon-based toolstacks linked against libxl, such as libvirt, this will crash the toolstack, losing the state of any in-progress operations (localized DoS), and preventing further administrator operations unless the daemon is configured to restart automatically (system-wide DoS). If crashes "leak" resources, then repeated crashes could use up resources, also causing a system-wide DoS.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.31%

Chance of exploitation in the next 30 days

Percentile

23%

Versus all other CVEs

30-day change

0.00 pp

From 0.31% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.31%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Alpine1 product
  • xen≥ 4.12, < 4.13.3-r0 | ≥ 4.12, < 4.15.0-r0
Debian1 product
  • xen< 4.14.2+25-gb6a8c4f72d-1
Xen1 product
  • xenxen-unstable | ≥ 4.12.x, < unspecified | ≥ 4.14.0, < 4.15.0 | ≥ 4.12, ≤ 4.15.0 | 4.15.0:rc1

3 vendors · 3 products

References

4 links