CVE-2021-28697: Xen - Use After Free
- Cve: CVE-2021-28697
- Name: Xen - Use After Free
- 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.
- Impact: Guests may access or manipulate memory pages that have been freed and re-used, potentially leading to information disclosure or memory corruption.
- Remediation: Implement proper synchronization to prevent race conditions during grant table v2 status page de-allocation.
- Vulnerability type: use_after_free
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00263
- Epss percentile: 0.18197
- Assignee: [email protected]
- Published at: 2021-08-27T19:15:07Z
- Age in days: 1915
- Modified at: 2026-06-17T03:46:49Z
- References total: 6
- Products total: 3
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-28697
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| xen:xen | >= 4.0.0, <= 4.15.0 | /v1/products/xen/xen |
| debian:debian_linux | = 11.0 | /v1/products/debian/debian_linux |
| fedoraproject:fedora | = 35, = 34, = 33 | /v1/products/fedoraproject/fedora |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports