Heap-based Buffer Overflow Affecting xorg-server package, versions [,21.1.11)[22.1.0,23.2.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-XORGSERVER-6179076
  • published18 Jan 2024
  • disclosed16 Jan 2024
  • creditJan-Niklas Sohn

Introduced: 16 Jan 2024

CVE-2024-21885  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade xorg-server to version 21.1.11, 23.2.4 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the XISendDeviceHierarchyEvent function. An attacker can cause an application crash or execute arbitrary code by adding certain new device IDs to the xXIHierarchyInfo struct, which leads to exceeding the allocated array length and triggering a heap buffer overflow condition.

CVSS Scores

version 3.1