Heap-based Buffer Overflow Affecting xorg-x11-server-common package, versions <0:1.20.11-22.el8


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.04% (12th 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-7169651
  • published30 May 2024
  • disclosed30 Apr 2024

Introduced: 30 Apr 2024

CVE-2024-21885  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 xorg-x11-server-common to version 0:1.20.11-22.el8 or higher.
This issue was patched in ALSA-2024:2995.

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 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.

CVSS Scores

version 3.1