Buffer Over-read Affecting xorg-x11-server-common package, versions <0:1.20.11-23.el8_10


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.05% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-XORGX11SERVERCOMMON-7168274
  • published30 May 2024
  • disclosed12 Nov 2024

Introduced: 30 May 2024

CVE-2024-31081  (opens in a new tab)
CWE-126  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 xorg-x11-server-common to version 0:1.20.11-23.el8_10 or higher.
This issue was patched in ALSA-2024:3258.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xorg-x11-server-common package and not the xorg-x11-server-common package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

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.

References

CVSS Scores

version 3.1