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.
References
Configurations
History
21 Nov 2024, 08:16
Type | Values Removed | Values Added |
---|---|---|
References | () https://access.redhat.com/security/cve/CVE-2023-3138 - Third Party Advisory | |
References | () https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/304a654a0d57bf0f00d8998185f0360332cfa36c - Patch | |
References | () https://lists.x.org/archives/xorg-announce/2023-June/003406.html - Mailing List, Patch | |
References | () https://lists.x.org/archives/xorg-announce/2023-June/003407.html - Mailing List, Patch | |
References | () https://security.netapp.com/advisory/ntap-20231208-0008/ - |
08 Dec 2023, 19:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
07 Jul 2023, 13:05
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:x.org:libx11:*:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
|
CWE | CWE-787 | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
References | (MISC) https://lists.x.org/archives/xorg-announce/2023-June/003407.html - Mailing List, Patch | |
References | (MISC) https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/304a654a0d57bf0f00d8998185f0360332cfa36c - Patch | |
References | (MISC) https://lists.x.org/archives/xorg-announce/2023-June/003406.html - Mailing List, Patch | |
References | (MISC) https://access.redhat.com/security/cve/CVE-2023-3138 - Third Party Advisory |
29 Jun 2023, 15:35
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2023-06-28 21:15
Updated : 2024-11-21 08:16
NVD link : CVE-2023-3138
Mitre link : CVE-2023-3138
CVE.ORG link : CVE-2023-3138
JSON object : View
Products Affected
x.org
- libx11
redhat
- enterprise_linux