Use After Free Affecting xorg-server package, versions <21.1.7-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.18% (57th 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-ALPINE321-XORGSERVER-8490260
  • published6 Dec 2024
  • disclosed27 Mar 2023

Introduced: 27 Mar 2023

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

How to fix?

Upgrade Alpine:3.21 xorg-server to version 21.1.7-r0 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 Alpine. See How to fix? for Alpine:3.21 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 Scores

version 3.1