Out-of-bounds Write Affecting xorg-server package, versions <2:1.18.4-0ubuntu0.12+esm5


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
7.53% (95th 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-UBUNTU1604-XORGSERVER-3170414
  • published14 Dec 2022
  • disclosed14 Dec 2022

Introduced: 14 Dec 2022

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

How to fix?

Upgrade Ubuntu:16.04 xorg-server to version 2:1.18.4-0ubuntu0.12+esm5 or higher.

NVD Description

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

A vulnerability was found in X.Org. This security flaw occurs becuase the swap handler for the XTestFakeInput request of the XTest extension may corrupt the stack if GenericEvents with lengths larger than 32 bytes are sent through a the XTestFakeInput request. This issue can lead to local privileges elevation on systems where the X server is running privileged and remote code execution for ssh X forwarding sessions. This issue does not affect systems where client and server use the same byte order.

CVSS Scores

version 3.1