Vulnerability · Published Aug 27, 2021 · Assigned by XEN
CVE-2021-28699
Medium 5.5
In plain English
A medium-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.4% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
inadequate grant-v2 status frames array bounds check The v2 grant table interface separates grant attributes from grant status. That is, when operating in this mode, a guest has two tables. As a result, guests also need to be able to retrieve the addresses that the new status tracking table can be accessed through. For 32-bit guests on x86, translation of requests has to occur because the interface structure layouts commonly differ between 32- and 64-bit. The translation of the request to obtain the frame numbers of the grant status table involves translating the resulting array of frame numbers. Since the space used to carry out the translation is limited, the translation layer tells the core function the capacity of the array within translation space. Unfortunately the core function then only enforces array bounds to be below 8 times the specified value, and would write past the available space if enough frame numbers needed storing.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | xen | 4.15.0-r2 | ALPINE-CVE-2021-28699 |
| Alpine:v3.21 | xen | 4.15.0-r2 | ALPINE-CVE-2021-28699 |
| Alpine:v3.22 | xen | 4.15.0-r2 | ALPINE-CVE-2021-28699 |
| Alpine:v3.23 | xen | 4.15.0-r2 | ALPINE-CVE-2021-28699 |
| Alpine:v3.24 | xen | 4.15.0-r2 | ALPINE-CVE-2021-28699 |
| Debian:12 | xen | 4.14.3-1 | DEBIAN-CVE-2021-28699 |
| Debian:13 | xen | 4.14.3-1 | DEBIAN-CVE-2021-28699 |
| Debian:14 | xen | 4.14.3-1 | DEBIAN-CVE-2021-28699 |
| Ubuntu:22.04:LTS | xen | no fix listed | UBUNTU-CVE-2021-28699 |
| Ubuntu:24.04:LTS | xen | no fix listed | UBUNTU-CVE-2021-28699 |
| Ubuntu:25.10 | xen | no fix listed | UBUNTU-CVE-2021-28699 |
| Ubuntu:26.04:LTS | xen | no fix listed | UBUNTU-CVE-2021-28699 |
| Ubuntu:26.10 | xen | no fix listed | UBUNTU-CVE-2021-28699 |
Affected products (as reported)
References
- https://xenbits.xenproject.org/xsa/advisory-382.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