ALAS2023-2024-522


Amazon Linux 2023 Security Advisory: ALAS2023-2024-522
Advisory Released Date: 2024-02-19
Advisory Updated Date: 2024-02-19
Severity: Important

Issue Overview:

A flaw was found in xorg-server. Querying or changing XKB button actions such as moving from a touchpad to a mouse can result in out-of-bounds memory reads and writes. This may allow local privilege escalation or possible remote code execution in cases where X11 forwarding is involved. (CVE-2023-6377)

A flaw was found in xorg-server. A specially crafted request to RRChangeProviderProperty or RRChangeOutputProperty can trigger an integer overflow which may lead to a disclosure of sensitive information. (CVE-2023-6478)

Heap buffer overflow in DeviceFocusEvent and ProcXIQueryPointer

NOTE: https://lists.x.org/archives/xorg/2024-January/061525.html
NOTE: https://gitlab.freedesktop.org/xorg/xserver/-/commit/9e2ecb2af8302dedc49cb6a63ebe063c58a9e7e3 (CVE-2023-6816)

An out-of-bounds memory access flaw was found in the X.Org server. This issue can be triggered when a device frozen by a sync grab is reattached to a different master device. This issue may lead to an application crash, local privilege escalation (if the server runs with extended privileges), or remote code execution in SSH X11 forwarding environments. (CVE-2024-0229)

SELinux unlabeled GLX PBuffer

NOTE: https://lists.x.org/archives/xorg/2024-January/061525.html
NOTE: https://gitlab.freedesktop.org/xorg/xserver/-/commit/e5e8586a12a3ec915673edffa10dc8fe5e15dac3 (CVE-2024-0408)

SELinux context corruption

NOTE: https://lists.x.org/archives/xorg/2024-January/061525.html
NOTE: https://gitlab.freedesktop.org/xorg/xserver/-/commit/2ef0f1116c65d5cb06d7b6d83f8a1aea702c94f7 (CVE-2024-0409)

A flaw was found in X.Org server. In the XISendDeviceHierarchyEvent function, it is possible to exceed the allocated array length when certain new device IDs are added to the xXIHierarchyInfo struct. This can trigger a heap buffer overflow condition, which may lead to an application crash or remote code execution in SSH X11 forwarding environments. (CVE-2024-21885)

Heap buffer overflow in DisableDevice

NOTE: https://lists.x.org/archives/xorg/2024-January/061525.html
NOTE: https://gitlab.freedesktop.org/xorg/xserver/-/commit/bc1fdbe46559dd947674375946bbef54dd0ce36b
NOTE: https://gitlab.freedesktop.org/xorg/xserver/-/commit/26769aa71fcbe0a8403b7fb13b7c9010cc07c3a8 (CVE-2024-21886)


Affected Packages:

xorg-x11-server


Issue Correction:
Run dnf update xorg-x11-server --releasever 2023.3.20240219 or dnf update --advisory ALAS2023-2024-522 --releasever 2023.3.20240219 to update your system.
More information on how to update your system can be found on this page: Amazon Linux 2023 documentation

New Packages:
aarch64:
    xorg-x11-server-Xorg-debuginfo-1.20.14-30.amzn2023.0.1.aarch64
    xorg-x11-server-Xephyr-debuginfo-1.20.14-30.amzn2023.0.1.aarch64
    xorg-x11-server-common-1.20.14-30.amzn2023.0.1.aarch64
    xorg-x11-server-Xorg-1.20.14-30.amzn2023.0.1.aarch64
    xorg-x11-server-Xvfb-debuginfo-1.20.14-30.amzn2023.0.1.aarch64
    xorg-x11-server-debuginfo-1.20.14-30.amzn2023.0.1.aarch64
    xorg-x11-server-Xnest-debuginfo-1.20.14-30.amzn2023.0.1.aarch64
    xorg-x11-server-Xnest-1.20.14-30.amzn2023.0.1.aarch64
    xorg-x11-server-Xvfb-1.20.14-30.amzn2023.0.1.aarch64
    xorg-x11-server-Xdmx-debuginfo-1.20.14-30.amzn2023.0.1.aarch64
    xorg-x11-server-Xephyr-1.20.14-30.amzn2023.0.1.aarch64
    xorg-x11-server-Xdmx-1.20.14-30.amzn2023.0.1.aarch64
    xorg-x11-server-devel-1.20.14-30.amzn2023.0.1.aarch64
    xorg-x11-server-debugsource-1.20.14-30.amzn2023.0.1.aarch64

noarch:
    xorg-x11-server-source-1.20.14-30.amzn2023.0.1.noarch

src:
    xorg-x11-server-1.20.14-30.amzn2023.0.1.src

x86_64:
    xorg-x11-server-Xephyr-debuginfo-1.20.14-30.amzn2023.0.1.x86_64
    xorg-x11-server-Xvfb-debuginfo-1.20.14-30.amzn2023.0.1.x86_64
    xorg-x11-server-Xorg-debuginfo-1.20.14-30.amzn2023.0.1.x86_64
    xorg-x11-server-Xnest-debuginfo-1.20.14-30.amzn2023.0.1.x86_64
    xorg-x11-server-Xdmx-1.20.14-30.amzn2023.0.1.x86_64
    xorg-x11-server-common-1.20.14-30.amzn2023.0.1.x86_64
    xorg-x11-server-debuginfo-1.20.14-30.amzn2023.0.1.x86_64
    xorg-x11-server-Xnest-1.20.14-30.amzn2023.0.1.x86_64
    xorg-x11-server-Xdmx-debuginfo-1.20.14-30.amzn2023.0.1.x86_64
    xorg-x11-server-Xephyr-1.20.14-30.amzn2023.0.1.x86_64
    xorg-x11-server-Xvfb-1.20.14-30.amzn2023.0.1.x86_64
    xorg-x11-server-devel-1.20.14-30.amzn2023.0.1.x86_64
    xorg-x11-server-Xorg-1.20.14-30.amzn2023.0.1.x86_64
    xorg-x11-server-debugsource-1.20.14-30.amzn2023.0.1.x86_64