ALAS2023-2023-250


Amazon Linux 2023 Security Advisory: ALAS-2023-250
Advisory Release Date: 2023-07-17 20:45 Pacific
Advisory Updated Date: 2023-07-20 00:55 Pacific
Severity: Medium

Issue Overview:

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. (CVE-2023-3138)


Affected Packages:

libX11


Issue Correction:
Run dnf update libX11 --releasever 2023.1.20230719 to update your system.

New Packages:
aarch64:
    libX11-debuginfo-1.7.2-3.amzn2023.0.3.aarch64
    libX11-xcb-debuginfo-1.7.2-3.amzn2023.0.3.aarch64
    libX11-1.7.2-3.amzn2023.0.3.aarch64
    libX11-xcb-1.7.2-3.amzn2023.0.3.aarch64
    libX11-debugsource-1.7.2-3.amzn2023.0.3.aarch64
    libX11-devel-1.7.2-3.amzn2023.0.3.aarch64

noarch:
    libX11-common-1.7.2-3.amzn2023.0.3.noarch

src:
    libX11-1.7.2-3.amzn2023.0.3.src

x86_64:
    libX11-xcb-debuginfo-1.7.2-3.amzn2023.0.3.x86_64
    libX11-1.7.2-3.amzn2023.0.3.x86_64
    libX11-debuginfo-1.7.2-3.amzn2023.0.3.x86_64
    libX11-xcb-1.7.2-3.amzn2023.0.3.x86_64
    libX11-debugsource-1.7.2-3.amzn2023.0.3.x86_64
    libX11-devel-1.7.2-3.amzn2023.0.3.x86_64