CVEfocus › CVE database › CVE-2018-12891

CVE-2018-12891

CVSS 6.5 MediumEPSS 0.4% (higher than 29% of CVEs)Published 2018-07-02Updated 2024-08-05Assigner: mitre

An issue was discovered in Xen through 4.10.x. Certain PV MMU operations may take a long time to process. For that reason Xen explicitly checks for the need to preempt the current vCPU at certain points. A few rarely taken code paths did bypass such checks. By suitably enforcing the conditions through its own page table contents, a malicious guest may cause such bypasses to be used for an unbounded number of iterations. A malicious or buggy PV guest may cause a Denial of Service (DoS) affecting the entire host. Specifically, it may prevent use of a physical CPU for an indeterminate period of time. All Xen versions from 3.4 onwards are vulnerable. Xen versions 3.3 and earlier are vulnerable to an even wider class of attacks, due to them lacking preemption checks altogether in the affected code paths. Only x86 systems are affected. ARM systems are not affected. Only multi-vCPU x86 PV guests can leverage the vulnerability. x86 HVM or PVH guests as well as x86 single-vCPU PV ones cannot leverage the vulnerability.

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

23Fixed
3Fix pending
1Will not fix
5Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04xenNot affected
vulnerable_code_not_present
Ubuntu 25.10xenNot affected
vulnerable_code_not_present
Ubuntu 24.04xenNot affected
vulnerable_code_not_present
Ubuntu 22.04xenNot affected
vulnerable_code_not_present
Ubuntu 20.04xenNot affected
vulnerable_code_not_present
Ubuntu 18.04xenFix pendingUBUNTU-CVE-2018-12891
Ubuntu 16.04xenFix pendingUBUNTU-CVE-2018-12891
Ubuntu 14.04xenFix pending
Debian 14xenFixed4.8.3+xsa267+shim4.10.1+xsa267-1+deb9u9DEBIAN-CVE-2018-12891
Debian 13xenFixed4.8.3+xsa267+shim4.10.1+xsa267-1+deb9u9DEBIAN-CVE-2018-12891
Debian 12xenFixed4.8.3+xsa267+shim4.10.1+xsa267-1+deb9u9DEBIAN-CVE-2018-12891
Red Hat Enterprise Linux 5xenWill not fix
Will not fix
Alpine Linux 3.24xenFixed4.11.0-r0ALPINE-CVE-2018-12891
Alpine Linux 3.23xenFixed4.11.0-r0ALPINE-CVE-2018-12891
Alpine Linux 3.22xenFixed4.11.0-r0ALPINE-CVE-2018-12891
Alpine Linux 3.21xenFixed4.11.0-r0ALPINE-CVE-2018-12891
Alpine Linux 3.20xenFixed4.11.0-r0ALPINE-CVE-2018-12891
Alpine Linux 3.19xenFixed4.11.0-r0ALPINE-CVE-2018-12891
Alpine Linux 3.18xenFixed4.11.0-r0ALPINE-CVE-2018-12891
Alpine Linux 3.17xenFixed4.11.0-r0ALPINE-CVE-2018-12891
Alpine Linux 3.16xenFixed4.11.0-r0ALPINE-CVE-2018-12891
Alpine Linux 3.15xenFixed4.11.0-r0ALPINE-CVE-2018-12891
Alpine Linux 3.14xenFixed4.11.0-r0ALPINE-CVE-2018-12891
Alpine Linux 3.13xenFixed4.11.0-r0ALPINE-CVE-2018-12891
Alpine Linux 3.12xenFixed4.11.0-r0ALPINE-CVE-2018-12891
Alpine Linux 3.11xenFixed4.11.0-r0ALPINE-CVE-2018-12891
Alpine Linux 3.10xenFixed4.11.0-r0ALPINE-CVE-2018-12891
Alpine Linux 3.9xenFixed4.11.0-r0ALPINE-CVE-2018-12891
Alpine Linux 3.8xenFixed4.10.1-r3ALPINE-CVE-2018-12891
Alpine Linux 3.7xenFixed4.9.3-r0ALPINE-CVE-2018-12891
Alpine Linux 3.6xenFixed4.8.4-r0ALPINE-CVE-2018-12891
Alpine Linux 3.5xenFixed4.7.6-r0ALPINE-CVE-2018-12891

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.