cbcvebase.
CVE-2024-21885
published 2024-02-28

CVE-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
VendorProductVersion rangeFixed in
debianxorg-server< xorg-server 2:21.1.7-3+deb12u5 (bookworm)xorg-server 2:21.1.7-3+deb12u5 (bookworm)
debianxwayland< xorg-server 2:21.1.7-3+deb12u5 (bookworm)xorg-server 2:21.1.7-3+deb12u5 (bookworm)
msrccbl2_xorg-x11-server_1.20.10-10_on_cbl_mariner_2.0
msrccbl2_xorg-x11-server_1.20.10-15_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64
x.orgxorg-server>= 0 < 2:1.20.11-1+deb11u112:1.20.11-1+deb11u11
x.orgxorg-server>= 0 < 2:21.1.7-3+deb12u52:21.1.7-3+deb12u5
x.orgxorg-server>= 0 < 2:21.1.11-12:21.1.11-1
x.orgxorg-server>= 0 < 2:21.1.11-12:21.1.11-1
x.orgxorg-server>= 0 < 2:1.20.13-1ubuntu1~20.04.152:1.20.13-1ubuntu1~20.04.15
x.orgxorg-server>= 0 < 2:1.20.13-1ubuntu1~20.04.142:1.20.13-1ubuntu1~20.04.14
x.orgxorg-server>= 0 < 2:21.1.4-2ubuntu1.7~22.04.82:21.1.4-2ubuntu1.7~22.04.8
x.orgxorg-server>= 0 < 2:21.1.4-2ubuntu1.7~22.04.72:21.1.4-2ubuntu1.7~22.04.7
x.orgxorg-server>= 0 < 2:1.15.1-0ubuntu2.11+esm92:1.15.1-0ubuntu2.11+esm9
x.orgxorg-server>= 0 < 2:1.18.4-0ubuntu0.12+esm102:1.18.4-0ubuntu0.12+esm10
x.orgxorg-server>= 0 < 2:1.18.4-0ubuntu0.12+esm92:1.18.4-0ubuntu0.12+esm9
x.orgxorg-server>= 0 < 2:1.19.6-1ubuntu4.15+esm52:1.19.6-1ubuntu4.15+esm5
x.orgxorg-server>= 0 < 2:1.19.6-1ubuntu4.15+esm42:1.19.6-1ubuntu4.15+esm4
x.orgxwayland>= 0 < 2:23.2.4-12:23.2.4-1
x.orgxwayland>= 0 < 2:23.2.4-12:23.2.4-1
x.orgxwayland>= 0 < 2:22.1.1-1ubuntu0.112:22.1.1-1ubuntu0.11
x.orgxwayland>= 0 < 2:22.1.1-1ubuntu0.102: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