Out-of-bounds Write Affecting xorg-x11-server-common package, versions <0:1.20.4-18.amzn2.0.1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.08% (39th 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-AMZN2-XORGX11SERVERCOMMON-3042980
  • published12 Oct 2022
  • disclosed1 Sept 2022

Introduced: 1 Sep 2022

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

How to fix?

Upgrade Amazon-Linux:2 xorg-x11-server-common to version 0:1.20.4-18.amzn2.0.1 or higher.
This issue was patched in ALAS2-2022-1856.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xorg-x11-server-common package and not the xorg-x11-server-common package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 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 Scores

version 3.1