Bug 1473204 (CVE-2017-10971)

Summary: CVE-2017-10971 xorg-x11-server: Stack overflow in the endianness conversion of X Events
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ajax, ofourdan, xgl-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:17:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1473206, 1910734    
Bug Blocks: 1473208    

Description Andrej Nemec 2017-07-20 08:35:59 UTC
In the X.Org X server, a user authenticated to an X Session could crash or execute code in the context of the X Server by exploiting a stack overflow in the endianness conversion of X Events.

Upstream patches:

https://cgit.freedesktop.org/xorg/xserver/commit/?id=215f894965df5fb0bb45b107d84524e700d2073c
https://cgit.freedesktop.org/xorg/xserver/commit/?id=8caed4df36b1f802b4992edcfd282cbeeec35d9d
https://cgit.freedesktop.org/xorg/xserver/commit/?id=ba336b24052122b136486961c82deac76bbde455

References:

https://bugzilla.suse.com/show_bug.cgi?id=1035283

Comment 1 Andrej Nemec 2017-07-20 08:38:39 UTC
Created xorg-x11-server tracking bugs for this issue:

Affects: fedora-all [bug 1473206]

Comment 2 Huzaifa S. Sidhpurwala 2017-08-16 07:17:09 UTC
Since the Xorg server is compiled with Stack-smashing protection, it looks like executing arbitrary code in the context of the X-server (root) involves guessing the stack canary, which can be extremely difficult to pull, hence the maximum impact of this flaw is X-server crash.