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