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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | xen | 4.15.0-r2 | ALPINE-CVE-2021-28697 |
| Alpine:v3.21 | xen | 4.15.0-r2 | ALPINE-CVE-2021-28697 |
| Alpine:v3.22 | xen | 4.15.0-r2 | ALPINE-CVE-2021-28697 |
| Alpine:v3.23 | xen | 4.15.0-r2 | ALPINE-CVE-2021-28697 |
| Alpine:v3.24 | xen | 4.15.0-r2 | ALPINE-CVE-2021-28697 |
| Debian:12 | xen | 4.14.3-1 | DEBIAN-CVE-2021-28697 |
| Debian:13 | xen | 4.14.3-1 | DEBIAN-CVE-2021-28697 |
| Debian:14 | xen | 4.14.3-1 | DEBIAN-CVE-2021-28697 |
| Ubuntu:22.04:LTS | xen | no fix listed | UBUNTU-CVE-2021-28697 |
| Ubuntu:24.04:LTS | xen | no fix listed | UBUNTU-CVE-2021-28697 |
| Ubuntu:25.10 | xen | no fix listed | UBUNTU-CVE-2021-28697 |
| Ubuntu:26.04:LTS | xen | no fix listed | UBUNTU-CVE-2021-28697 |
| Ubuntu:26.10 | xen | no fix listed | UBUNTU-CVE-2021-28697 |
Affected products (as reported)
References
- https://xenbits.xenproject.org/xsa/advisory-379.txt x_refsource_MISC
- FEDORA-2021-4f129cc0c1 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-d68ed12e46 vendor-advisory, x_refsource_FEDORA
- DSA-4977 vendor-advisory, x_refsource_DEBIAN
- FEDORA-2021-081f9bf5d2 vendor-advisory, x_refsource_FEDORA
- GLSA-202208-23 vendor-advisory, x_refsource_GENTOO