CVE-2019-18420
An issue was discovered in Xen through 4.12.x allowing x86 PV guest OS users to cause a denial of service via a VCPUOP_initialise hypercall. hypercall_create_continuation() is a variadic function which uses a printf-like format string to interpret its parameters. Error handling for a bad format character was done using BUG(), which crashes Xen. One path, via the VCPUOP_initialise hypercall, has a bad format character. The BUG() can be hit if VCPUOP_initialise executes for a sufficiently long period of time for a continuation to be created. Malicious guests may cause a hypervisor crash, resulting in a Denial of Service (DoS). Xen versions 4.6 and newer are vulnerable. Xen versions 4.5 and earlier are not vulnerable. Only x86 PV guests can exploit the vulnerability. HVM and PVH guests, and guests on ARM systems, cannot exploit 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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | xen | Fix pending | UBUNTU-CVE-2019-18420 | |
| Ubuntu 16.04 | xen | Fix pending | UBUNTU-CVE-2019-18420 | |
| Ubuntu 14.04 | xen | Fix pending | ||
| Debian 14 | xen | Fixed | 4.11.3+24-g14b62ab3e5-1 | DEBIAN-CVE-2019-18420 |
| Debian 13 | xen | Fixed | 4.11.3+24-g14b62ab3e5-1 | DEBIAN-CVE-2019-18420 |
| Debian 12 | xen | Fixed | 4.11.3+24-g14b62ab3e5-1 | DEBIAN-CVE-2019-18420 |
| Red Hat Enterprise Linux 5 | kernel-xen | Not affected | ||
| Alpine Linux 3.9 | xen | Fixed | 4.11.2-r0 | ALPINE-CVE-2019-18420 |
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:
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00037.html (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://www.debian.org/security/2020/dsa-4602 (vendor-advisory)
- https://security.gentoo.org/glsa/202003-56 (vendor-advisory)
References
- http://xenbits.xen.org/xsa/advisory-296.html
- http://www.openwall.com/lists/oss-security/2019/10/31/1
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00037.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2BQKX7M2RHCWDBKNPX4KEBI3MJIH6AYZ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I5WWPW4BSZDDW7VHU427XTVXV7ROOFFW/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IZYATWNUGHRBG6I3TC24YHP5Y3J7I6KH/
- https://www.debian.org/security/2020/dsa-4602
- https://seclists.org/bugtraq/2020/Jan/21
- https://security.gentoo.org/glsa/202003-56
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.