CVE-2024-21885

High

Description

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductXorg-server
PublishedFeb 28, 2024
First seenFeb 28, 2024
Weakness typeCWE-122CWE-122

How to fix

Affected products

ProductAffected versionsFixed in
xorg-serverv < 21.1.1121.1.11
xwaylandv < 23.2.423.2.4
Red Hat Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONNo range specified—
enterprise_linux 7No range specified—
enterprise_linux 8No range specified—
rhel_e4s 8.2No range specified—
rhel_e4s 8.4No range specified—
rhel_eus 8.6No range specified—
rhel_eus 8.8No range specified—
enterprise_linux 9No range specified—
rhel_eus 9.0No range specified—
rhel_eus 9.2No range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.