Bug 2140698 (CVE-2022-3550)

Summary: CVE-2022-3550 xorg-x11-server: buffer overflow in _GetCountedString() in xkb/xkb.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: high Docs Contact:
Priority: high    
Version: unspecifiedCC: adudiak, ajax, jwong, kaycoth, kshier, ofourdan
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 flaw was found in the xorg-x11-server package. A buffer overflow can occur in the _GetCountedString function in xkb/xkb.c due to improper input validation, allowing for possible escalation of privileges, execution of arbitrary code, or a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-07 07:33:06 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: 2140699, 2140700, 2140765, 2140766, 2140767, 2140768, 2140769    
Bug Blocks: 2135594    

Description Guilherme de Almeida Suckevicz 2022-11-07 16:47:32 UTC
A vulnerability classified as critical was found in X.org Server. Affected by this vulnerability is the function _GetCountedString of the file xkb/xkb.c. The manipulation leads to buffer overflow. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-211051.

Reference:
https://vuldb.com/?id.211051

Upstream patch:
https://cgit.freedesktop.org/xorg/xserver/commit/?id=11beef0b7f1ed290348e45618e5fa0d2bffcb72e

Comment 1 Guilherme de Almeida Suckevicz 2022-11-07 16:47:54 UTC
Created xorg-x11-server tracking bugs for this issue:

Affects: fedora-all [bug 2140699]


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

Affects: fedora-all [bug 2140700]

Comment 6 errata-xmlrpc 2022-11-16 10:12:22 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

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

Comment 7 Product Security DevOps Team 2022-12-07 07:33: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-2022-3550

Comment 8 errata-xmlrpc 2023-05-09 07:21:40 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 9 errata-xmlrpc 2023-05-09 07:22:12 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 10 errata-xmlrpc 2023-05-16 08:14:57 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 11 errata-xmlrpc 2023-05-16 08:15:11 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