Vulnerability · Published Aug 27, 2021 · Assigned by XEN

CVE-2021-28697

High 7.8

In plain English

A high-severity security flaw in xen from Xen. 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 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.8High
Exploit odds (30 days)0.3%top 81.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 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20xen4.15.0-r2ALPINE-CVE-2021-28697
Alpine:v3.21xen4.15.0-r2ALPINE-CVE-2021-28697
Alpine:v3.22xen4.15.0-r2ALPINE-CVE-2021-28697
Alpine:v3.23xen4.15.0-r2ALPINE-CVE-2021-28697
Alpine:v3.24xen4.15.0-r2ALPINE-CVE-2021-28697
Debian:12xen4.14.3-1DEBIAN-CVE-2021-28697
Debian:13xen4.14.3-1DEBIAN-CVE-2021-28697
Debian:14xen4.14.3-1DEBIAN-CVE-2021-28697
Ubuntu:22.04:LTSxenno fix listedUBUNTU-CVE-2021-28697
Ubuntu:24.04:LTSxenno fix listedUBUNTU-CVE-2021-28697
Ubuntu:25.10xenno fix listedUBUNTU-CVE-2021-28697
Ubuntu:26.04:LTSxenno fix listedUBUNTU-CVE-2021-28697
Ubuntu:26.10xenno fix listedUBUNTU-CVE-2021-28697

Affected products (as reported)

VendorProductVersions
Xen xen xen-unstable
Xen xen 4.13.x – before unspecified
Xen xen 4.11.x – before unspecified
Xen xen 4.15.x

References