CVE-2018-12892
Fixed in a distro release EPSS 3%
An issue was discovered in Xen 4.7 through 4.10.x. libxl fails to pass the readonly flag to qemu when setting up a SCSI disk, due to what was probably an erroneous merge conflict resolution. Malicious guest administrators or (in some situations) users may be able to write to supposedly read-only disk images. Only emulated SCSI disks (specified as "sd" in the libxl disk configuration, or an equivalent) are affected. IDE disks ("hd") are not affected (because attempts to make them readonly are rejected). Additionally, CDROM devices (that is, devices specified to be presented to the guest as CDROMs, regardless of the nature of the backing storage on the host) are not affected; they are always read only. Only systems using qemu-xen (rather than qemu-xen-traditional) as the device model version are vulnerable. Only systems using libxl or libxl-based toolstacks are vulnerable. (This includes xl, and libvirt with the libxl driver.) The vulnerability is present in Xen versions 4.7 and later. (In earlier versions, provided that the patch for XSA-142 has been applied, attempts to create read only disks are rejected.) If the host and guest together usually support PVHVM, the issue is exploitable only if the malicious guest administrator has control of the guest kernel or guest kernel command line.
Products: debian_linux, xen
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.10 | xen | 4.11.0-r0 |
| Alpine 3.11 | xen | 4.11.0-r0 |
| Alpine 3.12 | xen | 4.11.0-r0 |
| Alpine 3.13 | xen | 4.11.0-r0 |
| Alpine 3.14 | xen | 4.11.0-r0 |
| Alpine 3.15 | xen | 4.11.0-r0 |
| Alpine 3.16 | xen | 4.11.0-r0 |
| Alpine 3.17 | xen | 4.11.0-r0 |
| Alpine 3.18 | xen | 4.11.0-r0 |
| Alpine 3.19 | xen | 4.11.0-r0 |
| Alpine 3.20 | xen | 4.11.0-r0 |
| Alpine 3.21 | xen | 4.11.0-r0 |
| Alpine 3.22 | xen | 4.11.0-r0 |
| Alpine 3.23 | xen | 4.11.0-r0 |
| Alpine 3.24 | xen | 4.11.0-r0 |
| Alpine 3.5 | xen | 4.7.6-r0 |
| Alpine 3.6 | xen | 4.8.4-r0 |
| Alpine 3.7 | xen | 4.9.3-r0 |
| Alpine 3.8 | xen | 4.10.1-r3 |
| Alpine 3.9 | xen | 4.11.0-r0 |
| Debian 12 | xen | 4.8.3+xsa267+shim4.10.1+xsa267-1+deb9u9 |
| Debian 13 | xen | 4.8.3+xsa267+shim4.10.1+xsa267-1+deb9u9 |
| Debian 14 | xen | 4.8.3+xsa267+shim4.10.1+xsa267-1+deb9u9 |
| Debian 9 | xen | 4.8.3+xsa267+shim4.10.1+xsa267-1+deb9u9 |
| SUSE Enterprise Storage 4 | xen | 4.7.6_02-43.36.1 |
| SUSE Linux Enterprise Desktop 12 SP3 | xen | 4.9.2_08-3.35.2 |
| SUSE Linux Enterprise Module for Basesystem 15 | xen | 4.10.1_06-3.3.1 |
| SUSE Linux Enterprise Module for Server Applications 15 | xen | 4.10.1_06-3.3.1 |
| SUSE Linux Enterprise Server 12 SP2-BCL | xen | 4.7.6_02-43.36.1 |
| SUSE Linux Enterprise Server 12 SP2-LTSS | xen | 4.7.6_02-43.36.1 |
| SUSE Linux Enterprise Server 12 SP3 | xen | 4.9.2_08-3.35.2 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP2 | xen | 4.7.6_02-43.36.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | xen | 4.9.2_08-3.35.2 |
| SUSE Linux Enterprise Software Development Kit 12 SP3 | xen | 4.9.2_08-3.35.2 |
| SUSE OpenStack Cloud 7 | xen | 4.7.6_02-43.36.1 |
| Ubuntu 18.04 LTS | xen | no fix |
| openSUSE Tumbleweed | xen | 4.15.1_01-1.2 |