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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:x.org:libx11:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*

History

08 Dec 2023, 19:15

Type Values Removed Values Added
References
  • () https://security.netapp.com/advisory/ntap-20231208-0008/ -

07 Jul 2023, 13:05

Type Values Removed Values Added
CWE CWE-787
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
First Time X.org libx11
Redhat enterprise Linux
X.org
Redhat
CPE cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:a:x.org:libx11:*:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
References (MISC) https://lists.x.org/archives/xorg-announce/2023-June/003407.html - (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 - (MISC) https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/304a654a0d57bf0f00d8998185f0360332cfa36c - Patch
References (MISC) https://access.redhat.com/security/cve/CVE-2023-3138 - (MISC) https://access.redhat.com/security/cve/CVE-2023-3138 - Third Party Advisory
References (MISC) https://lists.x.org/archives/xorg-announce/2023-June/003406.html - (MISC) https://lists.x.org/archives/xorg-announce/2023-June/003406.html - Mailing List, Patch

28 Jun 2023, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-06-28 21:15

Updated : 2023-12-10 15:01


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
CWE
CWE-787

Out-of-bounds Write

CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer