cve.bz

CVE-2021-28697 Race Condition

7.8 highEPSS 0.3%Fix available

High (7.8). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 18th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-28697 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-28697?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-28697?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-28697 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
xenxen-unstable
xenfrom 4.13.x before unspecified
xenfrom 4.11.x before unspecified
xen4.15.x

Fixed in

ProductFixed in
xennext of 4.14.x
xennext of 4.12.x

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11xen4.14.3-1~deb11u1DSA-4977-1
Debian12, 13, 14xen4.14.3-1DEBIAN-CVE-2021-28697
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morexenno fix listedUBUNTU-CVE-2021-28697
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 6 morexen4.12.4_12-3.52.1SUSE-SU-2021:2925-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP3-LTSS and 3 morexen4.9.4_20-3.91.1SUSE-SU-2021:2957-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server for SAP Applications 15xen4.10.4_26-3.61.1SUSE-SU-2021:2943-1
SUSELinux Enterprise Micro 5.0, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Server Applications 15 SP2xen4.13.3_02-3.34.1SUSE-SU-2021:2922-1
SUSELinux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Server Applications 15 SP3xen4.14.2_04-3.9.1SUSE-SU-2021:2923-1
SUSELinux Enterprise Server 11 SP4-LTSSxen4.4.4_50-61.67.1SUSE-SU-2021:14848-1
SUSELinux Enterprise Server 12 SP2-BCLxen4.7.6_16-43.79.5SUSE-SU-2021:3322-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server for SAP Applications 12 SP4, OpenStack Cloud 9 and 1 morexen4.11.4_20-2.60.1SUSE-SU-2021:2955-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5xen4.12.4_12-3.49.1SUSE-SU-2021:2924-1
openSUSELeap 15.2xen4.13.3_02-lp152.2.27.1openSUSE-SU-2021:1236-1
openSUSELeap 15.3xen4.14.2_04-3.9.1openSUSE-SU-2021:2923-1
Alpinev3.11, v3.12xen4.13.3-r2ALPINE-CVE-2021-28697
Alpinev3.13xen4.14.2-r0ALPINE-CVE-2021-28697
Alpinev3.14, v3.15, v3.16 and 8 morexen4.15.0-r2ALPINE-CVE-2021-28697

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON