{"id":"UBUNTU-CVE-2017-2624","details":"It was found that xorg-x11-server before 1.19.0 including uses memcmp() to check the received MIT cookie against a series of valid cookies. If the cookie is correct, it is allowed to attach to the Xorg session. Since most memcmp() implementations return after an invalid byte is seen, this causes a time difference between a valid and invalid byte, which could allow an efficient brute force attack.","modified":"2026-02-04T02:53:42.517641Z","published":"2017-03-01T00:00:00Z","related":["USN-3362-1"],"upstream":["CVE-2017-2624"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-2624"},{"type":"REPORT","url":"https://www.x41-dsec.de/lab/advisories/x41-2017-001-xorg/"},{"type":"REPORT","url":"http://openwall.com/lists/oss-security/2017/03/01/1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3362-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-2624"}],"affected":[{"package":{"name":"xorg-server","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/xorg-server@2:1.15.1-0ubuntu2.9?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.15.1-0ubuntu2.9"}]}],"versions":["2:1.14.3-3ubuntu2","2:1.14.3-3ubuntu3","2:1.14.3-3ubuntu4","2:1.14.3-5ubuntu1","2:1.14.4-1ubuntu1","2:1.14.4-1ubuntu2","2:1.14.4.901-0ubuntu2","2:1.14.5-1ubuntu2","2:1.14.5-1ubuntu4","2:1.15.0-1ubuntu1","2:1.15.0-1ubuntu2","2:1.15.0-1ubuntu3","2:1.15.0-1ubuntu4","2:1.15.0-1ubuntu6","2:1.15.0-1ubuntu7","2:1.15.1-0ubuntu1","2:1.15.1-0ubuntu2","2:1.15.1-0ubuntu2.1","2:1.15.1-0ubuntu2.4","2:1.15.1-0ubuntu2.5","2:1.15.1-0ubuntu2.6","2:1.15.1-0ubuntu2.7"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2:1.15.1-0ubuntu2.9","binary_name":"xdmx"},{"binary_version":"2:1.15.1-0ubuntu2.9","binary_name":"xdmx-tools"},{"binary_version":"2:1.15.1-0ubuntu2.9","binary_name":"xnest"},{"binary_version":"2:1.15.1-0ubuntu2.9","binary_name":"xorg-server-source"},{"binary_version":"2:1.15.1-0ubuntu2.9","binary_name":"xserver-common"},{"binary_version":"2:1.15.1-0ubuntu2.9","binary_name":"xserver-xephyr"},{"binary_version":"2:1.15.1-0ubuntu2.9","binary_name":"xserver-xorg-core"},{"binary_version":"2:1.15.1-0ubuntu2.9","binary_name":"xserver-xorg-dev"},{"binary_version":"2:1.15.1-0ubuntu2.9","binary_name":"xserver-xorg-xmir"},{"binary_version":"2:1.15.1-0ubuntu2.9","binary_name":"xvfb"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-2624.json"}},{"package":{"name":"xorg-server-lts-xenial","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/xorg-server-lts-xenial@2:1.18.3-1ubuntu2.3~trusty2?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.18.3-1ubuntu2.3~trusty2"}]}],"versions":["2:1.18.3-1ubuntu2.2~trusty1","2:1.18.3-1ubuntu2.2~trusty2","2:1.18.3-1ubuntu2.2~trusty3","2:1.18.3-1ubuntu2.3~trusty1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2:1.18.3-1ubuntu2.3~trusty2","binary_name":"xorg-server-source-lts-xenial"},{"binary_version":"2:1.18.3-1ubuntu2.3~trusty2","binary_name":"xserver-xephyr-lts-xenial"},{"binary_version":"2:1.18.3-1ubuntu2.3~trusty2","binary_name":"xserver-xorg-core-lts-xenial"},{"binary_version":"2:1.18.3-1ubuntu2.3~trusty2","binary_name":"xserver-xorg-dev-lts-xenial"},{"binary_version":"2:1.18.3-1ubuntu2.3~trusty2","binary_name":"xwayland-lts-xenial"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-2624.json"}},{"package":{"name":"xorg-server","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/xorg-server@2:1.18.4-0ubuntu0.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.18.4-0ubuntu0.3"}]}],"versions":["2:1.17.2-1ubuntu9","2:1.17.2-1ubuntu10","2:1.17.3-2ubuntu1","2:1.17.3-2ubuntu2","2:1.17.3-2ubuntu3","2:1.17.3-2ubuntu4","2:1.18.1-1ubuntu3","2:1.18.1-1ubuntu4","2:1.18.3-1ubuntu1","2:1.18.3-1ubuntu2","2:1.18.3-1ubuntu2.2","2:1.18.3-1ubuntu2.3","2:1.18.4-0ubuntu0.1","2:1.18.4-0ubuntu0.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2:1.18.4-0ubuntu0.3","binary_name":"xdmx"},{"binary_version":"2:1.18.4-0ubuntu0.3","binary_name":"xdmx-tools"},{"binary_version":"2:1.18.4-0ubuntu0.3","binary_name":"xmir"},{"binary_version":"2:1.18.4-0ubuntu0.3","binary_name":"xnest"},{"binary_version":"2:1.18.4-0ubuntu0.3","binary_name":"xorg-server-source"},{"binary_version":"2:1.18.4-0ubuntu0.3","binary_name":"xserver-common"},{"binary_version":"2:1.18.4-0ubuntu0.3","binary_name":"xserver-xephyr"},{"binary_version":"2:1.18.4-0ubuntu0.3","binary_name":"xserver-xorg-core"},{"binary_version":"2:1.18.4-0ubuntu0.3","binary_name":"xserver-xorg-dev"},{"binary_version":"2:1.18.4-0ubuntu0.3","binary_name":"xserver-xorg-legacy"},{"binary_version":"2:1.18.4-0ubuntu0.3","binary_name":"xserver-xorg-xmir"},{"binary_version":"2:1.18.4-0ubuntu0.3","binary_name":"xvfb"},{"binary_version":"2:1.18.4-0ubuntu0.3","binary_name":"xwayland"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-2624.json"}},{"package":{"name":"xorg-server-hwe-16.04","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/xorg-server-hwe-16.04@2:1.18.4-1ubuntu6.1~16.04.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.18.4-1ubuntu6.1~16.04.2"}]}],"versions":["2:1.18.4-1ubuntu6.1~16.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2:1.18.4-1ubuntu6.1~16.04.2","binary_name":"xmir-hwe-16.04"},{"binary_version":"2:1.18.4-1ubuntu6.1~16.04.2","binary_name":"xorg-server-source-hwe-16.04"},{"binary_version":"2:1.18.4-1ubuntu6.1~16.04.2","binary_name":"xserver-xephyr-hwe-16.04"},{"binary_version":"2:1.18.4-1ubuntu6.1~16.04.2","binary_name":"xserver-xorg-core-hwe-16.04"},{"binary_version":"2:1.18.4-1ubuntu6.1~16.04.2","binary_name":"xserver-xorg-dev-hwe-16.04"},{"binary_version":"2:1.18.4-1ubuntu6.1~16.04.2","binary_name":"xserver-xorg-legacy-hwe-16.04"},{"binary_version":"2:1.18.4-1ubuntu6.1~16.04.2","binary_name":"xwayland-hwe-16.04"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-2624.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N"},{"type":"Ubuntu","score":"negligible"}]}