CVE-2024-21885
published 2024-02-28CVE-2024-21885: 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…
high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
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.
Affected
23 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | xorg-server | < xorg-server 2:21.1.7-3+deb12u5 (bookworm) | xorg-server 2:21.1.7-3+deb12u5 (bookworm) |
| debian | xwayland | < xorg-server 2:21.1.7-3+deb12u5 (bookworm) | xorg-server 2:21.1.7-3+deb12u5 (bookworm) |
| msrc | cbl2_xorg-x11-server_1.20.10-10_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_xorg-x11-server_1.20.10-15_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| x.org | xorg-server | >= 0 < 2:1.20.11-1+deb11u11 | 2:1.20.11-1+deb11u11 |
| x.org | xorg-server | >= 0 < 2:21.1.7-3+deb12u5 | 2:21.1.7-3+deb12u5 |
| x.org | xorg-server | >= 0 < 2:21.1.11-1 | 2:21.1.11-1 |
| x.org | xorg-server | >= 0 < 2:21.1.11-1 | 2:21.1.11-1 |
| x.org | xorg-server | >= 0 < 2:1.20.13-1ubuntu1~20.04.15 | 2:1.20.13-1ubuntu1~20.04.15 |
| x.org | xorg-server | >= 0 < 2:1.20.13-1ubuntu1~20.04.14 | 2:1.20.13-1ubuntu1~20.04.14 |
| x.org | xorg-server | >= 0 < 2:21.1.4-2ubuntu1.7~22.04.8 | 2:21.1.4-2ubuntu1.7~22.04.8 |
| x.org | xorg-server | >= 0 < 2:21.1.4-2ubuntu1.7~22.04.7 | 2:21.1.4-2ubuntu1.7~22.04.7 |
| x.org | xorg-server | >= 0 < 2:1.15.1-0ubuntu2.11+esm9 | 2:1.15.1-0ubuntu2.11+esm9 |
| x.org | xorg-server | >= 0 < 2:1.18.4-0ubuntu0.12+esm10 | 2:1.18.4-0ubuntu0.12+esm10 |
| x.org | xorg-server | >= 0 < 2:1.18.4-0ubuntu0.12+esm9 | 2:1.18.4-0ubuntu0.12+esm9 |
| x.org | xorg-server | >= 0 < 2:1.19.6-1ubuntu4.15+esm5 | 2:1.19.6-1ubuntu4.15+esm5 |
| x.org | xorg-server | >= 0 < 2:1.19.6-1ubuntu4.15+esm4 | 2:1.19.6-1ubuntu4.15+esm4 |
| x.org | xwayland | >= 0 < 2:23.2.4-1 | 2:23.2.4-1 |
| x.org | xwayland | >= 0 < 2:23.2.4-1 | 2:23.2.4-1 |
| x.org | xwayland | >= 0 < 2:22.1.1-1ubuntu0.11 | 2:22.1.1-1ubuntu0.11 |
| x.org | xwayland | >= 0 < 2:22.1.1-1ubuntu0.10 | 2:22.1.1-1ubuntu0.10 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv9.8CRITICAL