VDB

CVE-2024-21885

CVE-2024-21885 PUBLISHED CVSS 7.8 HIGH

Xorg-x11-server: heap buffer overflow in xisenddevicehierarchyevent

Reported by redhat · Published February 28, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
xorg-x11-server-develAmazon Linux1.20.14-30.amzn2023.0.1, 1.20.4-22.amzn2.0.4
xorg-servergitlab.freedesktop.org21.1.11
xorg-x11-server-XephyrAmazon Linux1.20.14-30.amzn2023.0.1, 1.20.4-22.amzn2.0.4
xwaylandAlpine23.2.4-r0
xorg-x11-server-XorgAmazon Linux1.20.14-30.amzn2023.0.1, 1.20.4-22.amzn2.0.4
xorg-x11-server-sourceAmazon Linux1.20.14-30.amzn2023.0.1, 1.20.4-22.amzn2.0.4
xorg-serverWolfi21.1.11-r0
xorg-x11-server-XvfbAmazon Linux1.20.14-30.amzn2023.0.1, 1.20.4-22.amzn2.0.4
xorg-x11-server-XdmxAmazon Linux1.20.14-30.amzn2023.0.1, 1.20.4-22.amzn2.0.4
xorg-serverChainguard21.1.11-r0
xorg-serverAlpine21.1.11-r0
xorg-x11-server-XwaylandAmazon Linux1.20.4-22.amzn2.0.4

3 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
0, 21.1.11
0, 23.2.4
Red HatRed Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION0:1.1.0-25.el6_10.13
Red HatRed Hat Enterprise Linux 70:1.20.4-27.el7_9
Red HatRed Hat Enterprise Linux 70:1.8.0-31.el7_9
Red HatRed Hat Enterprise Linux 80:1.13.1-2.el8_9.7
Red HatRed Hat Enterprise Linux 80:1.20.11-22.el8
Red HatRed Hat Enterprise Linux 80:21.1.3-15.el8
Red HatRed Hat Enterprise Linux 8.2 Advanced Update Support0:1.9.0-15.el8_2.9
Red HatRed Hat Enterprise Linux 8.2 Telecommunications Update Service0:1.9.0-15.el8_2.9
Red HatRed Hat Enterprise Linux 8.2 Update Services for SAP Solutions0:1.9.0-15.el8_2.9
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:1.11.0-8.el8_4.8
Red HatRed Hat Enterprise Linux 8.4 Telecommunications Update Service0:1.11.0-8.el8_4.8
Red HatRed Hat Enterprise Linux 8.4 Update Services for SAP Solutions0:1.11.0-8.el8_4.8
Red HatRed Hat Enterprise Linux 8.6 Extended Update Support0:1.12.0-6.el8_6.9
Red HatRed Hat Enterprise Linux 8.8 Extended Update Support0:1.12.0-15.el8_8.7
Red HatRed Hat Enterprise Linux 90:1.13.1-3.el9_3.6
Red HatRed Hat Enterprise Linux 90:1.20.11-24.el9
Red HatRed Hat Enterprise Linux 90:22.1.9-5.el9
Red HatRed Hat Enterprise Linux 9.0 Extended Update Support0:1.11.0-22.el9_0.8

…and 45 more

Timeline

  • Jan 16, 2024 CVE Published
  • Feb 11, 2024 PoC Published (3 in total, the first dated here)
  • Feb 29, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (11 in total, the first dated here)
  • Jan 18, 2026 CVE Updated
  • Mar 31, 2026 Distribution Patch (20 in total, the first dated here)
  • Mar 31, 2026 Security Advisory (22 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-21885
vulnetix vdb fixes CVE-2024-21885

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-21885/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 2 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›