CVE-2019-18421
CVSS V2 High 7.1
CVSS V3 High 7.5
Description
An issue was discovered in Xen through 4.12.x allowing x86 PV guest OS users to gain host OS privileges by leveraging race conditions in pagetable promotion and demotion operations. There are issues with restartable PV type change operations. To avoid using shadow pagetables for PV guests, Xen exposes the actual hardware pagetables to the guest. In order to prevent the guest from modifying these page tables directly, Xen keeps track of how pages are used using a type system; pages must be "promoted" before being used as a pagetable, and "demoted" before being used for any other type. Xen also allows for "recursive" promotions: i.e., an operating system promoting a page to an L4 pagetable may end up causing pages to be promoted to L3s, which may in turn cause pages to be promoted to L2s, and so on. These operations may take an arbitrarily large amount of time, and so must be re-startable. Unfortunately, making recursive pagetable promotion and demotion operations restartable is incredibly complicated, and the code contains several races which, if triggered, can cause Xen to drop or retain extra type counts, potentially allowing guests to get write access to in-use pagetables. A malicious PV guest administrator may be able to escalate their privilege to that of the host. All x86 systems with untrusted PV guests are vulnerable. HVM and PVH guests cannot exercise this vulnerability.
Overview
- CVE ID
- CVE-2019-18421
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2019-10-31T14:15:10
- Last Modified Date
- 2023-03-29T18:21:50
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:o:xen:xen:*:*:*:*:*:*:x86:* | 1 | OR | 4.12.1 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:H/Au:S/C:C/I:C/A:C
- Access Vector
- NETWORK
- Access Compatibility
- HIGH
- Authentication
- SINGLE
- Confidentiality Impact
- COMPLETE
- Integrity Impact
- COMPLETE
- Availability Impact
- COMPLETE
- Base Score
- 7.1
- Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 10
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- HIGH
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 1.6
- Impact Score
- 5.9
References
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2019-18421 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-18421 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:59:24 | Added to TrackCVE | |||
2022-12-04 05:13:57 | 2019-10-31T14:15Z | 2019-10-31T14:15:10 | CVE Published Date | updated |
2022-12-04 05:13:57 | 2019-11-14T16:15:15 | CVE Modified Date | updated | |
2022-12-04 05:13:57 | Modified | Vulnerability Status | updated | |
2022-12-12 18:10:24 | Modified | Undergoing Analysis | Vulnerability Status | updated |
2023-03-31 06:10:49 | 2023-03-29T18:21:50 | CVE Modified Date | updated | |
2023-03-31 06:10:49 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |