ALPINE-CVE-2019-18421
Record from OSV · Published October 31, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| xen | Alpine:v3.20 | 4.13.0-r0 |
| xen | Alpine:v3.21 | 4.13.0-r0 |
| xen | Alpine:v3.12 | 4.13.0-r0 |
| xen | Alpine:v3.23 | 4.13.0-r0 |
| xen | Alpine:v3.18 | 4.13.0-r0 |
| xen | Alpine:v3.8 | 4.10.4-r1 |
| xen | Alpine:v3.14 | 4.13.0-r0 |
| xen | Alpine:v3.13 | 4.13.0-r0 |
| xen | Alpine:v3.16 | 4.13.0-r0 |
| xen | Alpine:v3.24 | 4.13.0-r0 |
| xen | Alpine:v3.9 | 4.11.2-r1 |
| xen | Alpine:v3.19 | 4.13.0-r0 |
5 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.20 | xen | 4.2.2-r11, 0, 4.0.1-r0 |
| Alpine:v3.21 | xen | 4.12.1-r1, 4.12.1-r0, 4.7.1-r2 |
| Alpine:v3.12 | xen | 4.1.0-r2, 4.6.1-r2, 4.3.0-r2 |
| Alpine:v3.23 | xen | 4.5.0-r0, 4.6.0-r5, 4.1.3-r0 |
| Alpine:v3.18 | xen | 4.9.1-r0, 4.9.0-r8, 4.9.0-r7 |
| Alpine:v3.8 | xen | 4.1.0-r2, 4.2.2-r6, 4.1.3-r0 |
| Alpine:v3.14 | xen | 4.9.1-r2, 4.9.1-r1, 4.9.1-r0 |
| Alpine:v3.13 | xen | 4.1.2-r3, 4.3.0-r7, 4.3.0-r4 |
| Alpine:v3.16 | xen | 4.0.1-r0, 4.1.1-r1, 4.1.1-r2 |
| Alpine:v3.24 | xen | 0 |
| Alpine:v3.9 | xen | 4.0.1-r1, 0, 4.0.1-r0 |
| Alpine:v3.19 | xen | 0, 4.0.1-r0, 4.0.1-r1 |
| Alpine:v3.11 | xen | 4.4.1-r3, 4.3.0-r6, 4.11.0-r1 |
| Alpine:v3.22 | xen | 4.0.1-r3, 4.0.1-r0, 0 |
| Alpine:v3.15 | xen | 4.3.0-r4, 4.2.1-r11, 4.1.2-r12 |
| Alpine:v3.10 | xen | 4.1.0-r1, 4.1.1-r1, 4.8.1-r2 |
| Alpine:v3.17 | xen | 4.1.0-r0, 4.1.0-r1, 4.1.0-r2 |
Timeline
- Oct 31, 2019 CVE Published
- Jun 9, 2026 CVE Updated
- Aug 8, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln ALPINE-CVE-2019-18421
vulnetix vdb fixes ALPINE-CVE-2019-18421
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/ALPINE-CVE-2019-18421/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart