Out-of-bounds Write Affecting xorg-server-hwe-18.04 package, versions <2:1.20.8-2ubuntu2.2~18.04.7


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.05% (17th 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-UBUNTU1804-XORGSERVERHWE1804-2947570
  • published12 Jul 2022
  • disclosed1 Sept 2022

Introduced: 12 Jul 2022

CVE-2022-2320  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 xorg-server-hwe-18.04 to version 2:1.20.8-2ubuntu2.2~18.04.7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xorg-server-hwe-18.04 package and not the xorg-server-hwe-18.04 package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

A flaw was found in the Xorg-x11-server. The specific flaw exists within the handling of ProcXkbSetDeviceInfo requests. The issue results from the lack of proper validation of user-supplied data, which can result in a memory access past the end of an allocated buffer. This flaw allows an attacker to escalate privileges and execute arbitrary code in the context of root.

CVSS Base Scores

version 3.1