Bug 1862258 (CVE-2020-14347)

Summary: CVE-2020-14347 xorg-x11-server: Leak of uninitialized heap memory from the X server to clients in AllocatePixmap of dix/pixmap.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ajax, bskeggs, caillon+fedoraproject, jglisse, john.j5live, ofourdan, rhughes, rstrode, sandmann, security-response-team, xgl-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: xorg-server 1.20.9 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the way the Xserver memory was not properly initialized. This issue leak parts of server memory to the X client. In cases where the Xorg server runs with elevated privileges, this flaw results in a possible ASLR bypass.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-14 18:47:05 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: 1862319, 1862320, 1862517, 1910717    
Bug Blocks: 1862265    

Description Guilherme de Almeida Suckevicz 2020-07-30 20:07:40 UTC
Allocation for pixmap data in AllocatePixmap() does not initialize the memory in xserver, it leads to leak uninitialize heap memory to clients. When the X server runs with elevated privileges, this can lead to privilege elevation in the client.

Comment 2 Huzaifa S. Sidhpurwala 2020-07-31 03:18:39 UTC
Acknowledgments:

Name: X.org project
Upstream: Jan-Niklas Sohn (Trend Micro Zero Day Initiative)

Comment 4 msiddiqu 2020-07-31 15:33:13 UTC
Public via: 

https://www.openwall.com/lists/oss-security/2020/07/31/2

Comment 5 msiddiqu 2020-07-31 15:33:35 UTC
Created xorg-x11-server tracking bugs for this issue:

Affects: fedora-all [bug 1862517]

Comment 6 Huzaifa S. Sidhpurwala 2020-08-01 05:29:02 UTC
External References:

https://lists.x.org/archives/xorg-announce/2020-July/003051.html

Comment 8 errata-xmlrpc 2020-12-14 16:29:15 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:5408 https://access.redhat.com/errata/RHSA-2020:5408

Comment 9 Product Security DevOps Team 2020-12-14 18:47:05 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-14347

Comment 11 errata-xmlrpc 2021-05-18 15:11:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:1804 https://access.redhat.com/errata/RHSA-2021:1804