Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 623972 (CVE-2017-10971, CVE-2017-10972) - <x11-base/xorg-server-1.19.4: Multiple vulnerabilities
Summary: <x11-base/xorg-server-1.19.4: Multiple vulnerabilities
Alias: CVE-2017-10971, CVE-2017-10972
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Security
Whiteboard: B1 [glsa cve]
Depends on:
Reported: 2017-07-06 11:59 UTC by Kristian Fiskerstrand (RETIRED)
Modified: 2018-01-05 20:48 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---

Patch, concatenated from the above 4 commits. (bug623972.patch,6.68 KB, patch)
2017-07-24 10:30 UTC, Teika kazura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kristian Fiskerstrand (RETIRED) gentoo-dev 2017-07-06 11:59:19 UTC
From $URL:

This issue got lost under the Qualys noise

	The endianess handling for X Events assumed a fixed size of X Event structures and
	had a specific 32 byte stack buffer for that. 

	However "GenericEvents" can have any size, so if the events were sent in the wrong
	endianess, this stack buffer could be overflowed easily.

	So authenticated X users could overflow the stack in the X Server and with the X 
	server usually running as root gaining root prileveges.


	An information leak out of the X server due to an uninitialized stack area when swapping
	event endianess.

Ciao, Marcus
Comment 1 Teika kazura 2017-07-24 10:30:10 UTC
Created attachment 486668 [details, diff]
Patch, concatenated from the above 4 commits.

The attached file is the patch, concatenated from the 4 above cited links.
For users' convenience, let me submit it.
Comment 2 Matt Turner gentoo-dev 2017-10-31 01:43:52 UTC
These apply to <x11-base/xorg-server-1.19.4. xorg-server-1.19.5 is now stable.
Comment 3 Matt Turner gentoo-dev 2017-10-31 18:15:55 UTC
Vulnerable versions removed in

commit 67af98328e08ad9e53a857d1b51c9ecea8716ead
Author: Matt Turner <>
Date:   Mon Oct 30 18:44:14 2017 -0700

    x11-base/xorg-server: Drop vulnerable versions
Comment 4 Matt Turner gentoo-dev 2018-01-05 18:49:24 UTC
security@: going to do anything with this?
Comment 5 Christopher Díaz Riveros (RETIRED) gentoo-dev Security 2018-01-05 20:48:16 UTC
(In reply to Matt Turner from comment #4)
> security@: going to do anything with this?

Thank you Matt, this report should have been closed with: