Skip to content
OpenAdvisories
Medium · 5.9 CVE-2017-2624 EUVD-2017-11785GHSA-6pw7-qhf8-rjff

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.…

Published Jul 27, 2018 · Updated Aug 5, 2024 · Assigned by redhat

Description

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.

Affected products

VendorProductAffectedFixed
Xorg xorg-x11-server 1.19.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 xorg-server 2:1.19.2-1 —
Debian 13 xorg-server 2:1.19.2-1 —
Debian 12 xorg-server 2:1.19.2-1 —
Debian 7 xorg-server 2:1.12.4-6+deb7u8 DLA-1186-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS xorg-server 2:1.18.4-0ubuntu0.3 USN-3362-1
Ubuntu 16.04 LTS xorg-server-hwe-16.04 2:1.18.4-1ubuntu6.1~16.04.2 USN-3362-1
Ubuntu 14.04 LTS xorg-server 2:1.15.1-0ubuntu2.9 USN-3362-1
Ubuntu 14.04 LTS xorg-server-lts-xenial 2:1.18.3-1ubuntu2.3~trusty2 USN-3362-1
ReleasePackageFixed inAdvisory
SLES 12 SP2 xorg-x11-server 7.6_1.18.3-71.1 SUSE-SU-2017:1675-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP2 xorg-x11-server 7.6_1.18.3-71.1 SUSE-SU-2017:1675-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed xorg-x11-server 1.20.13-1.2 openSUSE-SU-2024:11525-1

Advisories 4

References