Vulnerability in Xen Package: CVE-2021-28710

xen Updated 02 Oct 2025

Summary

21/11/2021
N/A
Yes i
High
8.8

CVE-2021-28710: certain VT-d IOMMUs may not work in shared page table mode For efficiency reasons, address translation control structures (page tables) may (and, on suitable hardware, by default will) be shared between CPUs, for second-... Affects xen versions < 4.15.1-r1. Fixed in 4.15.1-r1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Xen package is an open-source hypervisor that provides virtualization services for various operating systems. It allows multiple guest operating systems to run on a single host system, enabling efficient resource utilization. However, a vulnerability has been discovered in certain versions of Xen that can lead to unauthorized write access to leaf page table entries in shared page table mode.

Vulnerability Detail

The vulnerability (CVE-2021-28710) arises from a flaw in the handling of address translation control structures (page tables) in Xen's VT-d IOMMUs. In shared page table mode, where page tables are shared between CPUs and IOMMUs, Xen fails to strip the top-level table when it is not required by the IOMMU. This oversight allows a guest to modify leaf page table entries, potentially leading to privilege escalation or other security breaches.

How To Fix

Minimum fixed version

4.15.1-r1

This is the first release that contains the fix.

sudo apk add --upgrade xen

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If updating the Xen package is not immediately feasible, a temporary workaround is to disable shared page table mode. This can be achieved by modifying the Xen configuration to use separate page tables for CPUs and IOMMUs. However, this workaround may impact performance and should only be considered as a temporary measure until the package can be updated.

Conclusion

The vulnerability in the Xen package (CVE-2021-28710) exposes a potential security risk in shared page table mode. It is crucial to update the package to the recommended version or apply the provided workaround to mitigate the vulnerability. For further assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for xen →

Share this vulnerability

FAQ

Xen is an open-source hypervisor that allows multiple guest operating systems to run on a single host system.

The vulnerability can allow a guest operating system to modify leaf page table entries, potentially leading to privilege escalation or other security breaches.

The vulnerability affects Xen versions prior to 4.15.1-r1.

To fix the vulnerability, update the Xen package to version 4.15.1-r1 or later.

Yes, a temporary workaround is to disable shared page table mode in the Xen configuration.

Related vulnerabilities

Recent vulnerabilities recorded for xen.

How To Fix

Minimum fixed version

4.15.1-r1

This is the first release that contains the fix.

sudo apk add --upgrade xen

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback