Vulnerability · Published Dec 7, 2021 · Assigned by XEN

CVE-2021-28703

High 7.0

In plain English

A high-severity security flaw in Xen from Xen Project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.0High
Exploit odds (30 days)0.3%top 73.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

grant table v2 status pages may remain accessible after de-allocation (take two) Guest get permitted access to certain Xen-owned pages of memory. The majority of such pages remain allocated / associated with a guest for its entire lifetime. Grant table v2 status pages, however, get de-allocated when a guest switched (back) from v2 to v1. The freeing of such pages requires that the hypervisor know where in the guest these pages were mapped. The hypervisor tracks only one use within guest space, but racing requests from the guest to insert mappings of these pages may result in any of them to become mapped in multiple locations. Upon switching back from v2 to v1, the guest would then retain access to a page that was freed and perhaps re-used for other purposes. This bug was fortuitously fixed by code cleanup in Xen 4.14, and backported to security-supported Xen branches as a prerequisite of the fix for XSA-378.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20xen4.15.1-r1ALPINE-CVE-2021-28703
Alpine:v3.21xen4.15.1-r1ALPINE-CVE-2021-28703
Alpine:v3.22xen4.15.1-r1ALPINE-CVE-2021-28703
Alpine:v3.23xen4.15.1-r1ALPINE-CVE-2021-28703
Alpine:v3.24xen4.15.1-r1ALPINE-CVE-2021-28703
Debian:12xen4.14.0+80-gd101b417b7-1DEBIAN-CVE-2021-28703
Debian:13xen4.14.0+80-gd101b417b7-1DEBIAN-CVE-2021-28703
Debian:14xen4.14.0+80-gd101b417b7-1DEBIAN-CVE-2021-28703
Ubuntu:22.04:LTSxenno fix listedUBUNTU-CVE-2021-28703
Ubuntu:24.04:LTSxenno fix listedUBUNTU-CVE-2021-28703
Ubuntu:25.10xenno fix listedUBUNTU-CVE-2021-28703
Ubuntu:26.04:LTSxenno fix listedUBUNTU-CVE-2021-28703
Ubuntu:26.10xenno fix listedUBUNTU-CVE-2021-28703

Affected products (as reported)

VendorProductVersions
Xen Project Xen Branch 4.13 – through 4.13

References