Vulnerability CVE-2024-31081: Information

Description

A heap-based buffer over-read vulnerability was found in the X.org server's ProcXIPassiveGrabDevice() 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.

Published: April 4, 2024
Modified: May 24, 2024
Error type identifier: CWE-126

Fixed packages

Package name
Branch
Fixed in version
Version from repository
Errata ID
Task #
State
xorg-serverp101.20.14-alt121.20.14-alt13ALT-PU-2024-5110-2344340Fixed
xorg-serverp91.20.8-alt131.20.8-alt12ALT-PU-2024-5108-1344341Testing
xorg-serverc10f11.20.14-alt121.20.14-alt12ALT-PU-2024-7023-2345710Fixed
xorg-xwaylandp1023.1.1-alt523.1.1-alt5ALT-PU-2024-5112-2344340Fixed
xorg-xwaylandc10f123.1.1-alt523.1.1-alt5ALT-PU-2024-7021-2345710Fixed

References to Advisories, Solutions, and Tools