CVE-2024-21885

Xorg-x11-server: heap buffer overflow in xisenddevicehierarchyevent

HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 1.42 % · percentile 73 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Deferred

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.

Weaknesses (CWE)

  • CWE-122 — Heap-based Buffer Overflow

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · secalert@redhat.com (Secondary)

European references

Affected products

ProductVersions
xorg-serveraffected 0 < 21.1.11 ; unaffected 21.1.11 < *
xwaylandaffected 0 < 23.2.4 ; unaffected 23.2.4 < *
Red Hat · Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONunaffected 0:1.1.0-25.el6_10.13 < *
Red Hat · Red Hat Enterprise Linux 7unaffected 0:1.20.4-27.el7_9 < *
Red Hat · Red Hat Enterprise Linux 7unaffected 0:1.8.0-31.el7_9 < *
Red Hat · Red Hat Enterprise Linux 8unaffected 0:1.13.1-2.el8_9.7 < *
Red Hat · Red Hat Enterprise Linux 8unaffected 0:1.20.11-22.el8 < *
Red Hat · Red Hat Enterprise Linux 8unaffected 0:21.1.3-15.el8 < *
Red Hat · Red Hat Enterprise Linux 8.2 Advanced Update Supportunaffected 0:1.9.0-15.el8_2.9 < *
Red Hat · Red Hat Enterprise Linux 8.2 Telecommunications Update Serviceunaffected 0:1.9.0-15.el8_2.9 < *
Red Hat · Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionsunaffected 0:1.9.0-15.el8_2.9 < *
Red Hat · Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportunaffected 0:1.11.0-8.el8_4.8 < *
Red Hat · Red Hat Enterprise Linux 8.4 Telecommunications Update Serviceunaffected 0:1.11.0-8.el8_4.8 < *
Red Hat · Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionsunaffected 0:1.11.0-8.el8_4.8 < *
Red Hat · Red Hat Enterprise Linux 8.6 Extended Update Supportunaffected 0:1.12.0-6.el8_6.9 < *
Red Hat · Red Hat Enterprise Linux 8.8 Extended Update Supportunaffected 0:1.12.0-15.el8_8.7 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:1.13.1-3.el9_3.6 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:1.20.11-24.el9 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:22.1.9-5.el9 < *
Red Hat · Red Hat Enterprise Linux 9.0 Extended Update Supportunaffected 0:1.11.0-22.el9_0.8 < *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD