First published: Fri Jun 09 2023(Updated: )
A vulnerability was found in libX11. The security flaw occurs because the functions in src/InitExt.c in libX11 do not check that the values provided for the Request, Event, or Error IDs are within the bounds of the arrays that those functions write to, using those IDs as array indexes. They trust that they were called with values provided by an Xserver adhering to the bounds specified in the X11 protocol, as all X servers provided by X.Org do. As the protocol only specifies a single byte for these values, an out-of-bounds value provided by a malicious server (or a malicious proxy-in-the-middle) can only overwrite other portions of the Display structure and not write outside the bounds of the Display structure itself, possibly causing the client to crash with this memory corruption.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
X.Org libX11 | <1.8.6 | |
Redhat Enterprise Linux | =8.0 | |
Redhat Enterprise Linux | =9.0 | |
redhat/libX11 | <1.8.6 | 1.8.6 |
IBM QRadar SIEM | <=7.5 - 7.5.0 UP8 IF01 |
https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/304a654a0d57bf0f00d8998185f0360332cfa36c
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-3138 is a vulnerability found in libX11 that allows attackers to write arbitrary values to arrays, potentially leading to remote code execution or denial of service.
The vulnerability occurs because certain functions in src/InitExt.c in libX11 do not properly check the bounds of array indexes.
CVE-2023-3138 has a severity rating of 7.5 (High).
X.Org libX11 versions up to 1.8.6, Redhat Enterprise Linux 8.0, and Redhat Enterprise Linux 9.0 are affected by CVE-2023-3138.
To fix the vulnerability, it is recommended to update to a patched version of libX11 as provided by the vendor or project maintainers.