From $URL: Hi, This issue got lost under the Qualys noise https://bugzilla.suse.com/show_bug.cgi?id=1035283 CVE-2017-10971: 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. https://cgit.freedesktop.org/xorg/xserver/commit/?id=ba336b24052122b136486961c82deac76bbde455 https://cgit.freedesktop.org/xorg/xserver/commit/?id=8caed4df36b1f802b4992edcfd282cbeeec35d9d https://cgit.freedesktop.org/xorg/xserver/commit/?id=215f894965df5fb0bb45b107d84524e700d2073c CVE-2017-10972: https://cgit.freedesktop.org/xorg/xserver/commit/?id=05442de962d3dc624f79fc1a00eca3ffc5489ced An information leak out of the X server due to an uninitialized stack area when swapping event endianess. Ciao, Marcus
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.
These apply to <x11-base/xorg-server-1.19.4. xorg-server-1.19.5 is now stable.
Vulnerable versions removed in commit 67af98328e08ad9e53a857d1b51c9ecea8716ead Author: Matt Turner <mattst88@gentoo.org> Date: Mon Oct 30 18:44:14 2017 -0700 x11-base/xorg-server: Drop vulnerable versions
security@: going to do anything with this?
(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: https://security.gentoo.org/glsa/201710-30 Marking as RESOLVED FIXED.