Alpine: multiple xen packages: security update to 4.13.0-r0

critical Tenable Self-Hosted Container Security Plugin ID 424706

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- An issue was discovered in Xen through 4.12.x allowing 32-bit PV guest OS users to gain guest OS
privileges by installing and using descriptors. There is missing descriptor table limit checking in x86 PV
emulation. When emulating certain PV guest operations, descriptor table accesses are performed by the
emulating code. Such accesses should respect the guest specified limits, unless otherwise guaranteed to
fail in such a case. Without this, emulation of 32-bit guest user mode calls through call gates would
allow guest user mode to install and then use descriptors of their choice, as long as the guest kernel did
not itself install an LDT. (Most OSes don't install any LDT by default). 32-bit PV guest user mode can
elevate its privileges to that of the guest kernel. Xen versions from at least 3.2 onwards are affected.
Only 32-bit PV guest user mode can leverage this vulnerability. HVM, PVH, as well as 64-bit PV guests
cannot leverage this vulnerability. Arm systems are unaffected. (CVE-2019-18425)

- An issue was discovered in Xen through 4.12.x allowing x86 guest OS users to cause a denial of service
(infinite loop) because certain bit iteration is mishandled. In a number of places bitmaps are being used
by the hypervisor to track certain state. Iteration over all bits involves functions which may misbehave
in certain corner cases: On x86 accesses to bitmaps with a compile time known size of 64 may incur
undefined behavior, which may in particular result in infinite loops. A malicious guest may cause a
hypervisor crash or hang, resulting in a Denial of Service (DoS). All versions of Xen are vulnerable. x86
systems with 64 or more nodes are vulnerable (there might not be any such systems that Xen would run on).
x86 systems with less than 64 nodes are not vulnerable. (CVE-2019-19582)

- An issue was discovered in Xen through 4.12.x allowing x86 HVM/PVH guest OS users to cause a denial of
service (guest OS crash) because VMX VMEntry checks mishandle a certain case. Please see XSA-260 for
background on the MovSS shadow. Please see XSA-156 for background on the need for #DB interception. The
VMX VMEntry checks do not like the exact combination of state which occurs when #DB in intercepted, Single
Stepping is active, and blocked by STI/MovSS is active, despite this being a legitimate state to be in.
The resulting VMEntry failure is fatal to the guest. HVM/PVH guest userspace code may be able to crash the
guest, resulting in a guest Denial of Service. All versions of Xen are affected. Only systems supporting
VMX hardware virtual extensions (Intel, Cyrix, or Zhaoxin CPUs) are affected. Arm and AMD systems are
unaffected. Only HVM/PVH guests are affected. PV guests cannot leverage the vulnerability.
(CVE-2019-19583)

- An issue was discovered in Xen through 4.12.x allowing x86 PV guest OS users to cause a denial of service
via degenerate chains of linear pagetables, because of an incorrect fix for CVE-2017-15595. "Linear
pagetables" is a technique which involves either pointing a pagetable at itself, or to another pagetable
of the same or higher level. Xen has limited support for linear pagetables: A page may either point to
itself, or point to another pagetable of the same level (i.e., L2 to L2, L3 to L3, and so on). XSA-240
introduced an additional restriction that limited the "depth" of such chains by allowing pages to either
*point to* other pages of the same level, or *be pointed to* by other pages of the same level, but not
both. To implement this, we keep track of the number of outstanding times a page points to or is pointed
to another page table, to prevent both from happening at the same time. Unfortunately, the original commit
introducing this reset this count when resuming validation of a partially-validated pagetable, incorrectly
dropping some "linear_pt_entry" counts. If an attacker could engineer such a situation to occur, they
might be able to make loops or other arbitrary chains of linear pagetables, as described in XSA-240. A
malicious or buggy PV guest may cause the hypervisor to crash, resulting in Denial of Service (DoS)
affecting the entire host. Privilege escalation and information leaks cannot be excluded. All versions of
Xen are vulnerable. Only x86 systems are affected. Arm systems are not affected. Only x86 PV guests can
leverage the vulnerability. x86 HVM and PVH guests cannot leverage the vulnerability. Only systems which
have enabled linear pagetables are vulnerable. Systems which have disabled linear pagetables, either by
selecting CONFIG_PV_LINEAR_PT=n when building the hypervisor, or adding pv-linear-pt=false on the command-
line, are not vulnerable. (CVE-2019-19578)

- An issue was discovered in Xen through 4.12.x allowing attackers to gain host OS privileges via DMA in a
situation where an untrusted domain has access to a physical device. This occurs because passed through
PCI devices may corrupt host memory after deassignment. When a PCI device is assigned to an untrusted
domain, it is possible for that domain to program the device to DMA to an arbitrary address. The IOMMU is
used to protect the host from malicious DMA by making sure that the device addresses can only target
memory assigned to the guest. However, when the guest domain is torn down, or the device is deassigned,
the device is assigned back to dom0, thus allowing any in-flight DMA to potentially target critical host
data. An untrusted domain with access to a physical device can DMA into host memory, leading to privilege
escalation. Only systems where guests are given direct access to physical devices capable of DMA (PCI
pass-through) are vulnerable. Systems which do not use PCI pass-through are not vulnerable.
(CVE-2019-18424)

Solution

Update the xen library and its related packages to version 4.13.0-r0 or later.

See Also

https://security.alpinelinux.org/vuln/CVE-2018-12207

https://security.alpinelinux.org/vuln/CVE-2019-11135

https://security.alpinelinux.org/vuln/CVE-2019-18421

https://security.alpinelinux.org/vuln/CVE-2019-18422

https://security.alpinelinux.org/vuln/CVE-2019-18423

https://security.alpinelinux.org/vuln/CVE-2019-18424

https://security.alpinelinux.org/vuln/CVE-2019-18425

https://security.alpinelinux.org/vuln/CVE-2019-19577

https://security.alpinelinux.org/vuln/CVE-2019-19578

https://security.alpinelinux.org/vuln/CVE-2019-19579

https://security.alpinelinux.org/vuln/CVE-2019-19580

https://security.alpinelinux.org/vuln/CVE-2019-19582

https://security.alpinelinux.org/vuln/CVE-2019-19583

Plugin Details

Severity: Critical

ID: 424706

Version: Revision 1.9

Type: Local

Published: 4/4/2025

Updated: 12/4/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5.3

Percentile: 95.98

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 6.9

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2019-18425

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 10/31/2019

Reference Information

CVE: CVE-2018-12207, CVE-2019-11135, CVE-2019-18421, CVE-2019-18422, CVE-2019-18423, CVE-2019-18424, CVE-2019-18425, CVE-2019-19577, CVE-2019-19578, CVE-2019-19579, CVE-2019-19580, CVE-2019-19582, CVE-2019-19583

IAVB: 2019-B-0084-S, 2019-B-0091-S