CVE-2021-28703 Race condition in Xen

High 7.0 Published Updated

A race condition in Xen allows guests to retain access to deallocated grant table pages, potentially leading to information disclosure or privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-28703?

CVE-2021-28703 is a high-severity vulnerability in Xen Xen, published on 7 Dec 2021. It can only be exploited from the same machine or local network, with no action from the victim.

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.

Which versions are affected by CVE-2021-28703?

It affects 1 product.

Products include Xen Xen.

How do I fix CVE-2021-28703?

Apply the vendor's patch.

Is CVE-2021-28703 being exploited?

There is no known exploitation of CVE-2021-28703 in the wild and no public exploit code.

All Xen Xen vulnerabilities

Sources

Also known as ALPINE-CVE-2021-28703, DEBIAN-CVE-2021-28703, GHSA-mj29-93c5-p3pr, UBUNTU-CVE-2021-28703.

Is CVE-2021-28703 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free