Vulnerability Details : CVE-2023-3138
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.
Vulnerability category: OverflowMemory Corruption
Products affected by CVE-2023-3138
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:a:x.org:libx11:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-3138
0.11%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 45 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-3138
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2023-3138
-
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.Assigned by: secalert@redhat.com (Secondary)
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2023-3138
-
https://access.redhat.com/security/cve/CVE-2023-3138
CVE-2023-3138- Red Hat Customer PortalThird Party Advisory
-
https://lists.x.org/archives/xorg-announce/2023-June/003406.html
[ANNOUNCE] X.Org Security Advisory: Sub-object overflows in libX11Mailing List;Patch
-
https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/304a654a0d57bf0f00d8998185f0360332cfa36c
InitExt.c: Add bounds checks for extension request, event, & error codes (304a654a) · Commits · xorg / lib / libX11 · GitLabPatch
-
https://lists.x.org/archives/xorg-announce/2023-June/003407.html
[ANNOUNCE] libX11 1.8.6Mailing List;Patch
-
https://security.netapp.com/advisory/ntap-20231208-0008/
CVE-2023-3138 libX11 Vulnerability in NetApp Products | NetApp Product Security
Jump to