XenOperating system

CVE-2017-10915

CRITICAL · 9.0 CVSS v3.0 Published 2017-07-05
Fix available
A fix is available. Upgrade to after 4.8.1 or later.
See remediation →
99/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
The shadow-paging feature in Xen through 4.8.x mismanages page references and consequently introduces a race condition, which allows guest OS users to obtain Xen privileges, aka XSA-219.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

A race condition exists in Xen's shadow-paging feature (used for hardware-assisted virtualization without nested page tables) due to mismanagement of page references. This allows a malicious guest OS user to escape guest isolation and escalate privileges to the Xen hypervisor level.

MitigationUpgrade Xen to version 4.9.x or later to receive the patch for XSA-219; alternatively, apply vendor-provided security patches for Xen 4.8.x and earlier versions.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
XenOperating system
Affected:<= 4.8.1

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

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

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify Xen hypervisor version
    Run `xl version` or `xm version` to display the installed Xen version, or check the package version with `rpm -q xen` (RHEL/CentOS) or `dpkg -l xen*` (Debian/Ubuntu)
    Affected if The reported version is 4.8.1 or lower
  2. Locate guest configuration files
    List all .cfg files in /etc/xen/ (or the directory containing your guest definitions) to identify all defined virtual machines
    Affected if One or more guest configuration files exist
  3. Determine if shadow paging is enabled
    For each guest configuration file, search for the `hap` setting (hardware-assisted paging). If `hap = 0` is present, that guest uses shadow paging. Also check for `shadow_memory` settings which indicate shadow mode usage
    Affected if Any guest has `hap = 0` set or explicitly uses shadow paging mode
  4. Identify running guests using shadow paging
    Run `xl list -l <guest_name>` for each guest and inspect the `hap` field in the output; a value of 0 indicates shadow paging is active for that running guest
    Affected if Any running guest shows hap state as 0 (shadow mode active)

You are affected if your Xen version is 4.8.1 or lower AND at least one guest VM is configured to use or is actively using shadow paging (hap = 0) instead of hardware-assisted paging.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to a release after 4.8.1
Interim mitigation

Upgrade Xen to version 4.9.x or later to receive the patch for XSA-219; alternatively, apply vendor-provided security patches for Xen 4.8.x and earlier versions.

Recommended fix High confidence

Xen 4.9.0 or later (e.g., 4.9.1, 4.10.x, 4.11.x)

  1. Upgrade Xen to version 4.9.0 or later to resolve the shadow-paging race condition (XSA-219)
  2. If running a distribution package (Debian, Gentoo, etc.), apply the vendor-provided security patch for this CVE
  3. After upgrading, verify the hypervisor version matches the expected fixed version using 'xl version' or 'xm version'
  4. Reboot the host after applying the hypervisor upgrade to load the patched version
  5. Confirm the guest domains start successfully post-reboot
Caveat Upgrading Xen hypervisor may require guest domain configuration adjustments; ensure backup of domain configurations before reboot

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Xen Scoped from the published advisory
  • Consultation8.0 h
  • Implementation16.0 h
  • Testing16.0 h
  • Review / QA4.0 h
44.0 hours of engineering $7,600
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $12,160.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2017-10915 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2017-10915 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data