Use After Free Affecting xorg-server package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (73rd 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-UNMANAGED-XORGSERVER-6036306
  • published26 Oct 2023
  • disclosed25 Oct 2023
  • creditSri

Introduced: 25 Oct 2023

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

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Use After Free in the DamageDestroy function. An attacker can escalate privileges or cause denial of service by triggering a use-after-free issue during shutdown or reset of the Xvfb server. This is only exploitable if a multi-screen setup with multiple protocol screens, also known as Zaphod mode, is used and the pointer is warped from a screen 1 to a screen 0.

Mitigation: This vulnerability can be mitigated by starting Xvfb with the -noreset command line option which limits the use-after-free from being triggered only at the Xvfb server shutdown.

CVSS Scores

version 3.1