CVE-2024-31080

Public on 2024-04-04
Modified on 2024-04-05
Description
A heap-based buffer over-read vulnerability was found in the X.org server's ProcXIGetSelectedEvents() function. This issue occurs when byte-swapped length values are used in replies, potentially leading to memory leakage and segmentation faults, particularly when triggered by a client with a different endianness. This vulnerability could be exploited by an attacker to cause the X server to read heap memory values and then transmit them back to the client until encountering an unmapped page, resulting in a crash. Despite the attacker's inability to control the specific memory copied into the replies, the small length values typically stored in a 32-bit integer can result in significant attempted out-of-bounds reads.
Severity
Medium severity
Medium
CVSS v3 Base Score
5.4
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 1 tigervnc No Fix Planned
Amazon Linux 2 - Core tigervnc 2024-04-11 ALAS2-2024-2510 Fixed
Amazon Linux 2023 wayland Not Affected
Amazon Linux 1 xorg-x11-server No Fix Planned
Amazon Linux 2 - Core xorg-x11-server 2024-04-11 ALAS2-2024-2511 Fixed
Amazon Linux 2023 xorg-x11-server 2024-04-10 ALAS2023-2024-583 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
NVD CVSSv3 7.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H