Bug 2151756 (CVE-2022-46341)

Summary: CVE-2022-46341 xorg-x11-server: XIPassiveUngrab out-of-bounds access
Product: [Other] Security Response Reporter: Sandipan Roy <saroy>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: ajax, jgrulich, ofourdan, peter.hutterer, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in X.Org. This issue occurs because the handler for the XIPassiveUngrab request accesses out-of-bounds memory when invoked with a high keycode or button code. This flaw can lead to local privilege elevation on systems where the X server runs privileged and remote code execution for ssh X forwarding sessions.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-11 10:00:38 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: 2151779, 2151780, 2151781, 2151782, 2151783, 2153131, 2153132, 2153133, 2153134, 2154209, 2154210, 2154223, 2154224, 2154264    
Bug Blocks: 2151201    

Description Sandipan Roy 2022-12-08 04:47:11 UTC
CVE-2022-46341/ZDI-CAN-19381: X.Org Server XIPassiveUngrab
out-of-bounds access

The handler for the XIPassiveUngrab request accesses out-of-bounds
memory when invoked with a high keycode or button code.

Comment 2 Sandipan Roy 2022-12-08 06:34:42 UTC
Xorg server does not run with root privileges in Red Hat Enterprise Linux 8 and 9, therefore Red Hat Enterprise Linux 8 and 9 have been rated with a moderate severity.

Comment 4 Sandipan Roy 2022-12-14 04:45:54 UTC
Created xorg-x11-server tracking bugs for this issue:

Affects: fedora-36 [bug 2153131]
Affects: fedora-37 [bug 2153132]


Created xorg-x11-server-Xwayland tracking bugs for this issue:

Affects: fedora-36 [bug 2153133]
Affects: fedora-37 [bug 2153134]

Comment 5 Sandipan Roy 2022-12-16 09:57:33 UTC
Created tigervnc tracking bugs for this issue:

Affects: fedora-36 [bug 2154209]
Affects: fedora-37 [bug 2154210]

Comment 8 errata-xmlrpc 2023-01-09 14:53:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2023:0045 https://access.redhat.com/errata/RHSA-2023:0045

Comment 9 errata-xmlrpc 2023-01-09 14:53:34 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2023:0046 https://access.redhat.com/errata/RHSA-2023:0046

Comment 10 Product Security DevOps Team 2023-01-11 10:00:36 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-2022-46341

Comment 11 errata-xmlrpc 2023-05-09 07:21:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:2248 https://access.redhat.com/errata/RHSA-2023:2248

Comment 12 errata-xmlrpc 2023-05-09 07:22:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:2249 https://access.redhat.com/errata/RHSA-2023:2249

Comment 13 errata-xmlrpc 2023-05-09 07:23:12 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:2257 https://access.redhat.com/errata/RHSA-2023:2257

Comment 14 errata-xmlrpc 2023-05-16 08:15:03 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:2805 https://access.redhat.com/errata/RHSA-2023:2805

Comment 15 errata-xmlrpc 2023-05-16 08:15:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:2806 https://access.redhat.com/errata/RHSA-2023:2806

Comment 16 errata-xmlrpc 2023-05-16 08:17:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:2830 https://access.redhat.com/errata/RHSA-2023:2830