Use After Free Affecting xorg-server-hwe-16.04 package, versions <2:1.19.6-1ubuntu4.1~16.04.6+esm4


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.51% (78th 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU1604-XORGSERVERHWE1604-3171269
  • published14 Dec 2022
  • disclosed14 Dec 2022

Introduced: 14 Dec 2022

CVE-2022-4283  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 xorg-server-hwe-16.04 to version 2:1.19.6-1ubuntu4.1~16.04.6+esm4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xorg-server-hwe-16.04 package and not the xorg-server-hwe-16.04 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 because the XkbCopyNames function left a dangling pointer to freed memory, resulting in out-of-bounds memory access on subsequent XkbGetKbdByName requests.. 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.

CVSS Scores

version 3.1