CVE-2017-12178
xorg-x11-server before 1.19.5 had wrong extra length check in ProcXIChangeHierarchy function allowing malicious X client to cause X server to crash or possibly execute arbitrary code.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: 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 16.04 | xorg | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | xorg-hwe-16.04 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | xorg-server | Fixed | 2:1.18.4-0ubuntu0.7 | UBUNTU-CVE-2017-12178 |
| Ubuntu 16.04 | xorg-server-hwe-16.04 | Fixed | 2:1.19.3-1ubuntu1~16.04.4 | UBUNTU-CVE-2017-12178 |
| Ubuntu 14.04 | xorg | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | xorg-server | Fixed | 2:1.15.1-0ubuntu2.11 | UBUNTU-CVE-2017-12178 |
| Ubuntu 14.04 | xorg-server-lts-utopic | Fix pending | ||
| Ubuntu 14.04 | xorg-server-lts-vivid | Fix pending | ||
| Ubuntu 14.04 | xorg-server-lts-wily | Fix pending | ||
| Ubuntu 14.04 | xorg-server-lts-xenial | Fixed | 2:1.18.3-1ubuntu2.3~trusty4 | UBUNTU-CVE-2017-12178 |
| Debian 14 | xorg-server | Fixed | 2:1.19.5-1 | DEBIAN-CVE-2017-12178 |
| Debian 13 | xorg-server | Fixed | 2:1.19.5-1 | DEBIAN-CVE-2017-12178 |
| Debian 12 | xorg-server | Fixed | 2:1.19.5-1 | DEBIAN-CVE-2017-12178 |
| Red Hat Enterprise Linux 9 | xorg-x11-server | Not affected | ||
| Red Hat Enterprise Linux 9 | xorg-x11-server-Xdmx | Not affected | ||
| Red Hat Enterprise Linux 9 | xorg-x11-server-Xephyr | Not affected | ||
| Red Hat Enterprise Linux 9 | xorg-x11-server-Xnest | Not affected | ||
| Red Hat Enterprise Linux 9 | xorg-x11-server-Xorg | Not affected | ||
| Red Hat Enterprise Linux 9 | xorg-x11-server-Xvfb | Not affected | ||
| Red Hat Enterprise Linux 9 | xorg-x11-server-common | Not affected | ||
| Red Hat Enterprise Linux 9 | xorg-x11-server-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | xorg-x11-server-source | Not affected | ||
| Red Hat Enterprise Linux 7 | xorg-x11-server | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | xorg-x11-server-Xdmx | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | xorg-x11-server-Xephyr | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | xorg-x11-server-Xnest | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | xorg-x11-server-Xorg | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | xorg-x11-server-Xvfb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | xorg-x11-server-Xwayland | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | xorg-x11-server-common | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | xorg-x11-server-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | xorg-x11-server-source | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-Xdmx | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-Xephyr | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-Xnest | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-Xorg | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-Xvfb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-common | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-source | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | xorg-x11-server | Will not fix Will not fix | ||
| Alpine Linux 3.24 | xorg-server | Fixed | 1.19.5-r0 | ALPINE-CVE-2017-12178 |
| Alpine Linux 3.23 | xorg-server | Fixed | 1.19.5-r0 | ALPINE-CVE-2017-12178 |
| Alpine Linux 3.22 | xorg-server | Fixed | 1.19.5-r0 | ALPINE-CVE-2017-12178 |
| Alpine Linux 3.21 | xorg-server | Fixed | 1.19.5-r0 | ALPINE-CVE-2017-12178 |
| Alpine Linux 3.20 | xorg-server | Fixed | 1.19.5-r0 | ALPINE-CVE-2017-12178 |
| Alpine Linux 3.19 | xorg-server | Fixed | 1.19.5-r0 | ALPINE-CVE-2017-12178 |
| Alpine Linux 3.18 | xorg-server | Fixed | 1.19.5-r0 | ALPINE-CVE-2017-12178 |
| Alpine Linux 3.17 | xorg-server | Fixed | 1.19.5-r0 | ALPINE-CVE-2017-12178 |
| Alpine Linux 3.16 | xorg-server | Fixed | 1.19.5-r0 | ALPINE-CVE-2017-12178 |
| Alpine Linux 3.15 | xorg-server | Fixed | 1.19.5-r0 | ALPINE-CVE-2017-12178 |
| Alpine Linux 3.14 | xorg-server | Fixed | 1.19.5-r0 | ALPINE-CVE-2017-12178 |
| Alpine Linux 3.13 | xorg-server | Fixed | 1.19.5-r0 | ALPINE-CVE-2017-12178 |
| Alpine Linux 3.12 | xorg-server | Fixed | 1.19.5-r0 | ALPINE-CVE-2017-12178 |
| Alpine Linux 3.11 | xorg-server | Fixed | 1.19.5-r0 | ALPINE-CVE-2017-12178 |
| Alpine Linux 3.10 | xorg-server | Fixed | 1.19.5-r0 | ALPINE-CVE-2017-12178 |
| Alpine Linux 3.9 | xorg-server | Fixed | 1.19.5-r0 | ALPINE-CVE-2017-12178 |
| Alpine Linux 3.8 | xorg-server | Fixed | 1.19.5-r0 | ALPINE-CVE-2017-12178 |
| Alpine Linux 3.7 | xorg-server | Fixed | 1.19.5-r0 | ALPINE-CVE-2017-12178 |
| Alpine Linux 3.6 | xorg-server | Fixed | 1.19.5-r0 | ALPINE-CVE-2017-12178 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- The X.Org Foundation xorg-x11-server: affected: before 1.19.5
Vendor advisories:
- https://www.debian.org/security/2017/dsa-4000 (vendor-advisory)
- https://security.gentoo.org/glsa/201711-05 (vendor-advisory)
References
- https://www.debian.org/security/2017/dsa-4000
- https://lists.debian.org/debian-lts-announce/2017/11/msg00032.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1509219
- https://security.gentoo.org/glsa/201711-05
- https://cgit.freedesktop.org/xorg/xserver/commit/?id=859b08d523307eebde7724fd1a0789c44813e821
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.