Out-of-bounds Write Affecting xorg-x11-server-common package, versions <0:1.20.11-15.el8


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
35.43% (98th 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-ALMALINUX8-XORGX11SERVERCOMMON-5608905
  • published28 May 2023
  • disclosed9 May 2023

Introduced: 9 May 2023

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

How to fix?

Upgrade AlmaLinux:8 xorg-x11-server-common to version 0:1.20.11-15.el8 or higher.
This issue was patched in ALSA-2023:2806.

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 AlmaLinux. See How to fix? for AlmaLinux:8 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.

References

CVSS Scores

version 3.1