Bug 2026074 (CVE-2021-4011)

Summary: CVE-2021-4011 xorg-x11-server: SwapCreateRegister out-of-bounds access
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: high Docs Contact:
Priority: high    
Version: unspecifiedCC: ajax, bskeggs, caillon+fedoraproject, jglisse, mvanderw, ofourdan, rhughes, rstrode, sandmann, security-response-team, xgl-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: xorg-x11-server 21.1.2, xorg-x11-server 1.20.14 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in xorg-x11-server where an out-of-bounds access can occur in the SwapCreateRegister function.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-03 11:12:09 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: 2030179, 2030180, 2030181, 2032945, 2038073, 2038074    
Bug Blocks: 2026049, 2026076    

Description Guilherme de Almeida Suckevicz 2021-11-23 17:33:45 UTC
As per upstream:


The handlers for the RecordCreateContext and RecordRegisterClients requests of the Record extension do not properly validate the request length leading to out of bounds memory write.

Comment 2 Guilherme de Almeida Suckevicz 2021-12-15 14:21:37 UTC
Created xorg-x11-server tracking bugs for this issue:

Affects: fedora-all [bug 2032945]

Comment 3 errata-xmlrpc 2022-01-03 10:21:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2022:0003 https://access.redhat.com/errata/RHSA-2022:0003

Comment 4 Product Security DevOps Team 2022-01-03 11:12:07 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-2021-4011

Comment 5 errata-xmlrpc 2022-05-10 14:18:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:1917 https://access.redhat.com/errata/RHSA-2022:1917