{"schemaVersion":3,"id":"CVE-2021-28697","aliases":["ALPINE-CVE-2021-28697","UBUNTU-CVE-2021-28697","DEBIAN-CVE-2021-28697"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-08-27T18:37:41.000Z","modified":"2024-08-03T21:47:33.045Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.6,"severity":"medium","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00263,"percentile":0.16984,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00263},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00263,"percentile":0.16984}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00263,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00263,"percentile":0.16984}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","description":"The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/362.html"}],"affected":[{"vendor":"alpine","product":"xen","name":"xen","label":"xen","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/xen","purlType":"apk","versions":[{"text":"≥ 4.0.0, < 4.13.3-r2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.14.2-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.15.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0.0, < 4.13.3-r2 | ≥ 4.0.0, < 4.14.2-r0 | ≥ 4.0.0, < 4.15.0-r2","eol":null,"hubHref":null},{"vendor":"debian","product":"xen","name":"xen","label":"xen","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/xen","purlType":"deb","versions":[{"text":"< 4.14.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.14.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"xen","name":"xen","label":"xen","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/xen","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"11.0","eol":{"isEol":true,"eolDate":"2026-08-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"11","label":"11 (Bullseye)","eolFrom":"2026-08-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"11.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"33","noFixRecorded":false,"fixedIn":null},{"text":"34","noFixRecorded":false,"fixedIn":null},{"text":"35","noFixRecorded":false,"fixedIn":null}],"versionsText":"33 | 34 | 35","eol":{"isEol":true,"eolDate":"2021-11-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"33","label":"33","eolFrom":"2021-11-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"xen","product":"xen","name":"xen","label":"xen","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"xen-unstable","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.13.x, < unspecified","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.11.x, < unspecified","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.15.0, < 4.16.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, ≤ 4.15.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"xen-unstable | ≥ 4.13.x, < unspecified | ≥ 4.11.x, < unspecified | ≥ 4.15.0, < 4.16.0 | ≥ 4.0.0, ≤ 4.15.0","eol":null,"hubHref":"/vendor/xen/xen"}],"affectedCount":6,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://xenbits.xenproject.org/xsa/advisory-379.txt","label":"xenbits.xenproject.org/xsa/advisory-379.txt","hostname":"xenbits.xenproject.org","tags":["X Refsource MISC","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LPRVHW4J4ZCPPOHZEWP5MOJT7XDGFFPJ/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FZCNPSRPGFCQRYE2BI4D4Q4SCE56ANV2/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://www.debian.org/security/2021/dsa-4977","label":"www.debian.org/security/2021/dsa-4977","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2VQCFAPBNGBBAOMJZG6QBREOG5IIDZID/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://security.gentoo.org/glsa/202208-23","label":"security.gentoo.org/glsa/202208-23","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-28697","label":"security.alpinelinux.org/vuln/CVE-2021-28697","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-28697","label":"ubuntu.com/security/CVE-2021-28697","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://xenbits.xen.org/xsa/advisory-379.html","label":"xenbits.xen.org/xsa/advisory-379.html","hostname":"xenbits.xen.org","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-28697","label":"www.cve.org/CVERecord?id=CVE-2021-28697","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-28697","label":"security-tracker.debian.org/tracker/CVE-2021-28697","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-4977-1","OPENSUSE-SU-2021:1236-1","OPENSUSE-SU-2021:2923-1","SUSE-SU-2021:14848-1","SUSE-SU-2021:2922-1","SUSE-SU-2021:2923-1","SUSE-SU-2021:2924-1","SUSE-SU-2021:2925-1","SUSE-SU-2021:2943-1","SUSE-SU-2021:2955-1","SUSE-SU-2021:2957-1","SUSE-SU-2021:3322-1"],"duplicates":[],"related":["OPENSUSE-SU-2021:1236-1","OPENSUSE-SU-2021:2923-1","SUSE-SU-2021:14848-1","SUSE-SU-2021:2922-1","SUSE-SU-2021:2923-1","SUSE-SU-2021:2924-1","SUSE-SU-2021:2925-1","SUSE-SU-2021:2943-1","SUSE-SU-2021:2955-1","SUSE-SU-2021:2957-1","SUSE-SU-2021:3322-1"]},"timeline":[{"kind":"published","date":"2021-08-27T18:37:41.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T21:47:33.045Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T16:53:17.726Z","stale":false,"partial":false}}