7.8
CWE
119 122
Advisory Published
CVE Published
CVE Published
Updated

CVE-2024-21885: Xorg-x11-server: heap buffer overflow in xisenddevicehierarchyevent

First published: Tue Jan 02 2024(Updated: )

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.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/xorg-server<21.1.11
21.1.11
redhat/xwayland<23.2.4
23.2.4
ubuntu/xorg-server<2:1.19.6-1ubuntu4.15+
2:1.19.6-1ubuntu4.15+
ubuntu/xorg-server<2:1.20.13-1ubuntu1~20.04.14
2:1.20.13-1ubuntu1~20.04.14
ubuntu/xorg-server<2:21.1.4-2ubuntu1.7~22.04.7
2:21.1.4-2ubuntu1.7~22.04.7
ubuntu/xorg-server<2:21.1.7-1ubuntu3.6
2:21.1.7-1ubuntu3.6
ubuntu/xorg-server<2:21.1.7-3ubuntu2.6
2:21.1.7-3ubuntu2.6
ubuntu/xorg-server<2:21.1.11-1ubuntu1
2:21.1.11-1ubuntu1
ubuntu/xorg-server<2:1.15.1-0ubuntu2.11+
2:1.15.1-0ubuntu2.11+
ubuntu/xorg-server<2:21.1.11-1
2:21.1.11-1
ubuntu/xorg-server<2:1.18.4-0ubuntu0.12+
2:1.18.4-0ubuntu0.12+
ubuntu/xwayland<2:22.1.1-1ubuntu0.10
2:22.1.1-1ubuntu0.10
ubuntu/xwayland<2:22.1.8-1ubuntu1.4
2:22.1.8-1ubuntu1.4
ubuntu/xwayland<2:23.2.0-1ubuntu0.4
2:23.2.0-1ubuntu0.4
ubuntu/xwayland<2:23.2.4-1
2:23.2.4-1
debian/xorg-server<=2:1.20.4-1+deb10u4
2:1.20.4-1+deb10u14
2:1.20.11-1+deb11u11
2:1.20.11-1+deb11u13
2:21.1.7-3+deb12u5
2:21.1.7-3+deb12u7
2:21.1.12-1
debian/xwayland<=2:22.1.9-1
2:23.2.6-1
2:24.1.0-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203