{"id":"ALPINE-CVE-2017-12178","details":"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.","modified":"2025-11-19T06:09:04.839626Z","published":"2018-01-24T15:29:00.370Z","upstream":["CVE-2017-12178"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2017-12178"}],"affected":[{"package":{"name":"xorg-server","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/xorg-server?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.5-r0"}]}],"versions":["1.10.0-r0","1.10.0.901-r0","1.10.0.902-r0","1.10.1-r0","1.10.1-r1","1.10.2-r0","1.10.3-r0","1.10.4-r0","1.11.0-r0","1.11.1-r0","1.11.1-r1","1.11.1.902-r0","1.11.2-r0","1.11.3-r0","1.11.4-r0","1.11.4-r1","1.12.0-r0","1.12.1-r0","1.12.1-r1","1.12.1.902-r0","1.12.2-r0","1.12.3-r0","1.12.4-r0","1.13.0-r0","1.13.1-r0","1.13.2-r0","1.13.2-r1","1.13.2-r2","1.14.0-r0","1.14.0-r1","1.14.1-r0","1.14.2-r0","1.14.3-r0","1.14.4-r0","1.14.5-r0","1.15.0-r0","1.15.0-r1","1.15.1-r0","1.15.2-r0","1.16.0-r0","1.16.0-r1","1.16.0-r2","1.16.1-r0","1.16.2-r0","1.16.2.901-r0","1.16.3-r0","1.17.1-r0","1.17.1-r1","1.17.1-r2","1.17.1-r3","1.17.2-r0","1.17.2-r1","1.17.2-r2","1.17.3-r0","1.17.4-r0","1.17.4-r1","1.18.0-r0","1.18.1-r0","1.18.2-r0","1.18.3-r0","1.18.4-r0","1.18.4-r1","1.18.4-r2","1.18.4-r3","1.18.4-r4","1.19.3-r0","1.19.3-r1","1.19.3-r2","1.19.3-r3","1.19.3-r4","1.6.0-r0","1.6.0-r1","1.6.0-r2","1.6.0-r3","1.6.0-r4","1.6.1-r0","1.6.1-r1","1.6.1-r2","1.6.1-r3","1.6.2-r0","1.6.2-r1","1.6.3-r0","1.6.3-r1","1.7.0.901-r1","1.7.1-r0","1.7.3.901-r0","1.7.3.902-r0","1.7.4.901-r0","1.7.6-r0","1.7.6-r1","1.7.6-r2","1.7.7-r0","1.7.7-r1","1.9.0-r0","1.9.0-r1","1.9.0.901-r0","1.9.1-r0","1.9.2-r0","1.9.3-r0","1.9.3.901-r0","1.9.3.902-r0","1.9.4-r0","1.9.4-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-12178.json"}},{"package":{"name":"xorg-server","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/xorg-server?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.5-r0"}]}],"versions":["1.10.0-r0","1.10.0.901-r0","1.10.0.902-r0","1.10.1-r0","1.10.1-r1","1.10.2-r0","1.10.3-r0","1.10.4-r0","1.11.0-r0","1.11.1-r0","1.11.1-r1","1.11.1.902-r0","1.11.2-r0","1.11.3-r0","1.11.4-r0","1.11.4-r1","1.12.0-r0","1.12.1-r0","1.12.1-r1","1.12.1.902-r0","1.12.2-r0","1.12.3-r0","1.12.4-r0","1.13.0-r0","1.13.1-r0","1.13.2-r0","1.13.2-r1","1.13.2-r2","1.14.0-r0","1.14.0-r1","1.14.1-r0","1.14.2-r0","1.14.3-r0","1.14.4-r0","1.14.5-r0","1.15.0-r0","1.15.0-r1","1.15.1-r0","1.15.2-r0","1.16.0-r0","1.16.0-r1","1.16.0-r2","1.16.1-r0","1.16.2-r0","1.16.2.901-r0","1.16.3-r0","1.17.1-r0","1.17.1-r1","1.17.1-r2","1.17.1-r3","1.17.2-r0","1.17.2-r1","1.17.2-r2","1.17.3-r0","1.17.4-r0","1.17.4-r1","1.18.0-r0","1.18.1-r0","1.18.2-r0","1.18.3-r0","1.18.4-r0","1.18.4-r1","1.18.4-r2","1.18.4-r3","1.18.4-r4","1.19.3-r0","1.19.3-r1","1.19.3-r2","1.19.3-r3","1.19.3-r4","1.6.0-r0","1.6.0-r1","1.6.0-r2","1.6.0-r3","1.6.0-r4","1.6.1-r0","1.6.1-r1","1.6.1-r2","1.6.1-r3","1.6.2-r0","1.6.2-r1","1.6.3-r0","1.6.3-r1","1.7.0.901-r1","1.7.1-r0","1.7.3.901-r0","1.7.3.902-r0","1.7.4.901-r0","1.7.6-r0","1.7.6-r1","1.7.6-r2","1.7.7-r0","1.7.7-r1","1.9.0-r0","1.9.0-r1","1.9.0.901-r0","1.9.1-r0","1.9.2-r0","1.9.3-r0","1.9.3.901-r0","1.9.3.902-r0","1.9.4-r0","1.9.4-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-12178.json"}},{"package":{"name":"xorg-server","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/xorg-server?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.5-r0"}]}],"versions":["1.10.0-r0","1.10.0.901-r0","1.10.0.902-r0","1.10.1-r0","1.10.1-r1","1.10.2-r0","1.10.3-r0","1.10.4-r0","1.11.0-r0","1.11.1-r0","1.11.1-r1","1.11.1.902-r0","1.11.2-r0","1.11.3-r0","1.11.4-r0","1.11.4-r1","1.12.0-r0","1.12.1-r0","1.12.1-r1","1.12.1.902-r0","1.12.2-r0","1.12.3-r0","1.12.4-r0","1.13.0-r0","1.13.1-r0","1.13.2-r0","1.13.2-r1","1.13.2-r2","1.14.0-r0","1.14.0-r1","1.14.1-r0","1.14.2-r0","1.14.3-r0","1.14.4-r0","1.14.5-r0","1.15.0-r0","1.15.0-r1","1.15.1-r0","1.15.2-r0","1.16.0-r0","1.16.0-r1","1.16.0-r2","1.16.1-r0","1.16.2-r0","1.16.2.901-r0","1.16.3-r0","1.17.1-r0","1.17.1-r1","1.17.1-r2","1.17.1-r3","1.17.2-r0","1.17.2-r1","1.17.2-r2","1.17.3-r0","1.17.4-r0","1.17.4-r1","1.18.0-r0","1.18.1-r0","1.18.2-r0","1.18.3-r0","1.18.4-r0","1.18.4-r1","1.18.4-r2","1.18.4-r3","1.18.4-r4","1.19.3-r0","1.19.3-r1","1.19.3-r2","1.19.3-r3","1.19.3-r4","1.6.0-r0","1.6.0-r1","1.6.0-r2","1.6.0-r3","1.6.0-r4","1.6.1-r0","1.6.1-r1","1.6.1-r2","1.6.1-r3","1.6.2-r0","1.6.2-r1","1.6.3-r0","1.6.3-r1","1.7.0.901-r1","1.7.1-r0","1.7.3.901-r0","1.7.3.902-r0","1.7.4.901-r0","1.7.6-r0","1.7.6-r1","1.7.6-r2","1.7.7-r0","1.7.7-r1","1.9.0-r0","1.9.0-r1","1.9.0.901-r0","1.9.1-r0","1.9.2-r0","1.9.3-r0","1.9.3.901-r0","1.9.3.902-r0","1.9.4-r0","1.9.4-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-12178.json"}},{"package":{"name":"xorg-server","ecosystem":"Alpine:v3.6","purl":"pkg:apk/alpine/xorg-server?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.5-r0"}]}],"versions":["1.10.0-r0","1.10.0.901-r0","1.10.0.902-r0","1.10.1-r0","1.10.1-r1","1.10.2-r0","1.10.3-r0","1.10.4-r0","1.11.0-r0","1.11.1-r0","1.11.1-r1","1.11.1.902-r0","1.11.2-r0","1.11.3-r0","1.11.4-r0","1.11.4-r1","1.12.0-r0","1.12.1-r0","1.12.1-r1","1.12.1.902-r0","1.12.2-r0","1.12.3-r0","1.12.4-r0","1.13.0-r0","1.13.1-r0","1.13.2-r0","1.13.2-r1","1.13.2-r2","1.14.0-r0","1.14.0-r1","1.14.1-r0","1.14.2-r0","1.14.3-r0","1.14.4-r0","1.14.5-r0","1.15.0-r0","1.15.0-r1","1.15.1-r0","1.15.2-r0","1.16.0-r0","1.16.0-r1","1.16.0-r2","1.16.1-r0","1.16.2-r0","1.16.2.901-r0","1.16.3-r0","1.17.1-r0","1.17.1-r1","1.17.1-r2","1.17.1-r3","1.17.2-r0","1.17.2-r1","1.17.2-r2","1.17.3-r0","1.17.4-r0","1.17.4-r1","1.18.0-r0","1.18.1-r0","1.18.2-r0","1.18.3-r0","1.18.4-r0","1.18.4-r1","1.18.4-r2","1.18.4-r3","1.18.4-r4","1.19.3-r0","1.19.3-r1","1.19.3-r2","1.6.0-r0","1.6.0-r1","1.6.0-r2","1.6.0-r3","1.6.0-r4","1.6.1-r0","1.6.1-r1","1.6.1-r2","1.6.1-r3","1.6.2-r0","1.6.2-r1","1.6.3-r0","1.6.3-r1","1.7.0.901-r1","1.7.1-r0","1.7.3.901-r0","1.7.3.902-r0","1.7.4.901-r0","1.7.6-r0","1.7.6-r1","1.7.6-r2","1.7.7-r0","1.7.7-r1","1.9.0-r0","1.9.0-r1","1.9.0.901-r0","1.9.1-r0","1.9.2-r0","1.9.3-r0","1.9.3.901-r0","1.9.3.902-r0","1.9.4-r0","1.9.4-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-12178.json"}},{"package":{"name":"xorg-server","ecosystem":"Alpine:v3.7","purl":"pkg:apk/alpine/xorg-server?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.5-r0"}]}],"versions":["1.10.0-r0","1.10.0.901-r0","1.10.0.902-r0","1.10.1-r0","1.10.1-r1","1.10.2-r0","1.10.3-r0","1.10.4-r0","1.11.0-r0","1.11.1-r0","1.11.1-r1","1.11.1.902-r0","1.11.2-r0","1.11.3-r0","1.11.4-r0","1.11.4-r1","1.12.0-r0","1.12.1-r0","1.12.1-r1","1.12.1.902-r0","1.12.2-r0","1.12.3-r0","1.12.4-r0","1.13.0-r0","1.13.1-r0","1.13.2-r0","1.13.2-r1","1.13.2-r2","1.14.0-r0","1.14.0-r1","1.14.1-r0","1.14.2-r0","1.14.3-r0","1.14.4-r0","1.14.5-r0","1.15.0-r0","1.15.0-r1","1.15.1-r0","1.15.2-r0","1.16.0-r0","1.16.0-r1","1.16.0-r2","1.16.1-r0","1.16.2-r0","1.16.2.901-r0","1.16.3-r0","1.17.1-r0","1.17.1-r1","1.17.1-r2","1.17.1-r3","1.17.2-r0","1.17.2-r1","1.17.2-r2","1.17.3-r0","1.17.4-r0","1.17.4-r1","1.18.0-r0","1.18.1-r0","1.18.2-r0","1.18.3-r0","1.18.4-r0","1.18.4-r1","1.18.4-r2","1.18.4-r3","1.18.4-r4","1.19.3-r0","1.19.3-r1","1.19.3-r2","1.19.3-r3","1.19.3-r4","1.6.0-r0","1.6.0-r1","1.6.0-r2","1.6.0-r3","1.6.0-r4","1.6.1-r0","1.6.1-r1","1.6.1-r2","1.6.1-r3","1.6.2-r0","1.6.2-r1","1.6.3-r0","1.6.3-r1","1.7.0.901-r1","1.7.1-r0","1.7.3.901-r0","1.7.3.902-r0","1.7.4.901-r0","1.7.6-r0","1.7.6-r1","1.7.6-r2","1.7.7-r0","1.7.7-r1","1.9.0-r0","1.9.0-r1","1.9.0.901-r0","1.9.1-r0","1.9.2-r0","1.9.3-r0","1.9.3.901-r0","1.9.3.902-r0","1.9.4-r0","1.9.4-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-12178.json"}},{"package":{"name":"xorg-server","ecosystem":"Alpine:v3.8","purl":"pkg:apk/alpine/xorg-server?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.5-r0"}]}],"versions":["1.10.0-r0","1.10.0.901-r0","1.10.0.902-r0","1.10.1-r0","1.10.1-r1","1.10.2-r0","1.10.3-r0","1.10.4-r0","1.11.0-r0","1.11.1-r0","1.11.1-r1","1.11.1.902-r0","1.11.2-r0","1.11.3-r0","1.11.4-r0","1.11.4-r1","1.12.0-r0","1.12.1-r0","1.12.1-r1","1.12.1.902-r0","1.12.2-r0","1.12.3-r0","1.12.4-r0","1.13.0-r0","1.13.1-r0","1.13.2-r0","1.13.2-r1","1.13.2-r2","1.14.0-r0","1.14.0-r1","1.14.1-r0","1.14.2-r0","1.14.3-r0","1.14.4-r0","1.14.5-r0","1.15.0-r0","1.15.0-r1","1.15.1-r0","1.15.2-r0","1.16.0-r0","1.16.0-r1","1.16.0-r2","1.16.1-r0","1.16.2-r0","1.16.2.901-r0","1.16.3-r0","1.17.1-r0","1.17.1-r1","1.17.1-r2","1.17.1-r3","1.17.2-r0","1.17.2-r1","1.17.2-r2","1.17.3-r0","1.17.4-r0","1.17.4-r1","1.18.0-r0","1.18.1-r0","1.18.2-r0","1.18.3-r0","1.18.4-r0","1.18.4-r1","1.18.4-r2","1.18.4-r3","1.18.4-r4","1.19.3-r0","1.19.3-r1","1.19.3-r2","1.19.3-r3","1.19.3-r4","1.6.0-r0","1.6.0-r1","1.6.0-r2","1.6.0-r3","1.6.0-r4","1.6.1-r0","1.6.1-r1","1.6.1-r2","1.6.1-r3","1.6.2-r0","1.6.2-r1","1.6.3-r0","1.6.3-r1","1.7.0.901-r1","1.7.1-r0","1.7.3.901-r0","1.7.3.902-r0","1.7.4.901-r0","1.7.6-r0","1.7.6-r1","1.7.6-r2","1.7.7-r0","1.7.7-r1","1.9.0-r0","1.9.0-r1","1.9.0.901-r0","1.9.1-r0","1.9.2-r0","1.9.3-r0","1.9.3.901-r0","1.9.3.902-r0","1.9.4-r0","1.9.4-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-12178.json"}},{"package":{"name":"xorg-server","ecosystem":"Alpine:v3.9","purl":"pkg:apk/alpine/xorg-server?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.5-r0"}]}],"versions":["1.10.0-r0","1.10.0.901-r0","1.10.0.902-r0","1.10.1-r0","1.10.1-r1","1.10.2-r0","1.10.3-r0","1.10.4-r0","1.11.0-r0","1.11.1-r0","1.11.1-r1","1.11.1.902-r0","1.11.2-r0","1.11.3-r0","1.11.4-r0","1.11.4-r1","1.12.0-r0","1.12.1-r0","1.12.1-r1","1.12.1.902-r0","1.12.2-r0","1.12.3-r0","1.12.4-r0","1.13.0-r0","1.13.1-r0","1.13.2-r0","1.13.2-r1","1.13.2-r2","1.14.0-r0","1.14.0-r1","1.14.1-r0","1.14.2-r0","1.14.3-r0","1.14.4-r0","1.14.5-r0","1.15.0-r0","1.15.0-r1","1.15.1-r0","1.15.2-r0","1.16.0-r0","1.16.0-r1","1.16.0-r2","1.16.1-r0","1.16.2-r0","1.16.2.901-r0","1.16.3-r0","1.17.1-r0","1.17.1-r1","1.17.1-r2","1.17.1-r3","1.17.2-r0","1.17.2-r1","1.17.2-r2","1.17.3-r0","1.17.4-r0","1.17.4-r1","1.18.0-r0","1.18.1-r0","1.18.2-r0","1.18.3-r0","1.18.4-r0","1.18.4-r1","1.18.4-r2","1.18.4-r3","1.18.4-r4","1.19.3-r0","1.19.3-r1","1.19.3-r2","1.19.3-r3","1.19.3-r4","1.6.0-r0","1.6.0-r1","1.6.0-r2","1.6.0-r3","1.6.0-r4","1.6.1-r0","1.6.1-r1","1.6.1-r2","1.6.1-r3","1.6.2-r0","1.6.2-r1","1.6.3-r0","1.6.3-r1","1.7.0.901-r1","1.7.1-r0","1.7.3.901-r0","1.7.3.902-r0","1.7.4.901-r0","1.7.6-r0","1.7.6-r1","1.7.6-r2","1.7.7-r0","1.7.7-r1","1.9.0-r0","1.9.0-r1","1.9.0.901-r0","1.9.1-r0","1.9.2-r0","1.9.3-r0","1.9.3.901-r0","1.9.3.902-r0","1.9.4-r0","1.9.4-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-12178.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}