Logo
vulnerabilityCVE-2024-21885
Name
CVE-2024-21885
Source
NVD ( link)Debian ( link)
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.
Published Date
Updated Date
Workaround
-
Advisories

Analysis#


Affected Component
Analysis
xserver-xorg
Patched
xwayland
Patched

Vulnerability Ratings#


7.8
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
24.1.12
Not Affected
buildroot
master
24.1.12
Not Affected
yocto
master
21.1.23
Not Affected
yocto
master
24.1.12
Not Affected
yocto
scarthgap
21.1.18
Not Affected
yocto
scarthgap
23.2.5
Not Affected

Resolved with patches#


xserver-xorg (yocto:kirkstone)

#
Title
Author
Resolve
1
Xi: flush hierarchy events after adding/removing master
Peter Hutterer <peter.hutterer@who-t.net>
CVE-2024-21885

xwayland (yocto:kirkstone)

#
Title
Author
Resolve
1
Xi: flush hierarchy events after adding/removing master
Peter Hutterer <peter.hutterer@who-t.net>
CVE-2024-21885