Use After Free Affecting xwayland package, versions <2:22.1.1-1ubuntu0.5


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.9% (55th 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-UBUNTU2204-XWAYLAND-3314043
  • published7 Feb 2023
  • disclosed27 Mar 2023

Introduced: 7 Feb 2023

CVE-2023-0494  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 xwayland to version 2:22.1.1-1ubuntu0.5 or higher.

NVD Description

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

A vulnerability was found in X.Org. This issue occurs due to a dangling pointer in DeepCopyPointerClasses that can be exploited by ProcXkbSetDeviceInfo() and ProcXkbGetDeviceInfo() to read and write into freed memory. This can lead to local privilege elevation on systems where the X server runs privileged and remote code execution for ssh X forwarding sessions.

CVSS Base Scores

version 3.1