{"api_version":"1","generated_at":"2026-04-22T23:52:42+00:00","cve":"CVE-2021-28703","urls":{"html":"https://cve.report/CVE-2021-28703","api":"https://cve.report/api/cve/CVE-2021-28703.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-28703","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-28703"},"summary":{"title":"CVE-2021-28703","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.","state":"PUBLIC","assigner":"security@xen.org","published_at":"2021-12-07 12:15:00","updated_at":"2024-02-04 08:15:00"},"problem_types":["NVD-CWE-Other"],"metrics":[],"references":[{"url":"https://security.gentoo.org/glsa/202402-07","name":"GLSA-202402-07","refsource":"","tags":[],"title":"Xen: Multiple Vulnerabilities (GLSA 202402-07) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://xenbits.xenproject.org/xsa/advisory-387.txt","name":"https://xenbits.xenproject.org/xsa/advisory-387.txt","refsource":"MISC","tags":[],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-28703","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28703","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Array","lang":""}],"nvd_cpes":[{"cve_year":"2021","cve_id":"28703","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"xen","cpe5":"xen","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"x86","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-28703","qid":"180382","title":"Debian Security Update for xen (CVE-2021-28703)"},{"cve":"CVE-2021-28703","qid":"500803","title":"Alpine Linux Security Update for xen"},{"cve":"CVE-2021-28703","qid":"501523","title":"Alpine Linux Security Update for xen"},{"cve":"CVE-2021-28703","qid":"501801","title":"Alpine Linux Security Update for xen"},{"cve":"CVE-2021-28703","qid":"502458","title":"Alpine Linux Security Update for xen"},{"cve":"CVE-2021-28703","qid":"504546","title":"Alpine Linux Security Update for xen"},{"cve":"CVE-2021-28703","qid":"710858","title":"Gentoo Linux Xen Multiple Vulnerabilities (GLSA 202402-07)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@xen.org","ID":"CVE-2021-28703","STATE":"PUBLIC"},"configuration":{"configuration_data":{"description":{"description_data":[{"lang":"eng","value":"All Xen branches up to and including 4.13 are vulnerable,\nbut only if the patches for XSA-378 have not been applied.\n\nXen versions 4.13.4, 4.14.x and 4.15.x are not affected.\n\nOnly x86 HMV and PVH guests permitted to use grant table version 2\ninterfaces can leverage this vulnerability.  x86 PV guests cannot\nleverage this vulnerability.  On Arm, grant table v2 use is explicitly\nunsupported."}]}}},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Xen","version":{"version_data":[{"version_affected":"!","version_name":"Branch 4.13.4","version_value":"4.13.4"},{"version_affected":"!","version_name":"Branch 4.14.x","version_value":"4.14.x"},{"version_affected":"!","version_name":"Branch 4.15.x","version_value":"4.15.x"},{"version_affected":"<=","version_name":"Branch 4.13","version_value":"4.13"}]}}]},"vendor_name":"Xen Project"}]}},"credit":{"credit_data":{"description":{"description_data":[{"lang":"eng","value":"This issue was discovered by Patryk Balicki and Julien Grall of Amazon."}]}}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"impact_data":{"description":{"description_data":[{"lang":"eng","value":"A malicious guest may be able to elevate its privileges to that of the\nhost, cause host or guest Denial of Service (DoS), or cause information\nleaks."}]}}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"unknown"}]}]},"references":{"reference_data":[{"url":"https://xenbits.xenproject.org/xsa/advisory-387.txt","refsource":"MISC","name":"https://xenbits.xenproject.org/xsa/advisory-387.txt"}]},"workaround":{"workaround_data":{"description":{"description_data":[{"lang":"eng","value":"Running only PV guests will avoid this vulnerability.\n\nSuppressing use of grant table v2 interfaces for HVM or PVH guests will\nalso avoid this vulnerability."}]}}}},"nvd":{"publishedDate":"2021-12-07 12:15:00","lastModifiedDate":"2024-02-04 08:15:00","problem_types":["NVD-CWE-Other"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH"},"exploitabilityScore":1,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:C/I:C/A:C","accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":6.9},"severity":"MEDIUM","exploitabilityScore":3.4,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:xen:xen:*:*:*:*:*:*:x86:*","versionEndExcluding":"14.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"28703","Ordinal":"203879","Title":"CVE-2021-28703","CVE":"CVE-2021-28703","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"28703","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"28703","Ordinal":"2","NoteData":"2021-12-07","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"28703","Ordinal":"3","NoteData":"2021-12-07","Type":"Other","Title":"Modified"}]}}}