Use After Free Affecting tigervnc-server-module package, versions <0:1.13.1-8.el9_4.3


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
1.86% (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 IDSNYK-ALMALINUX9-TIGERVNCSERVERMODULE-6810760
  • published7 May 2024
  • disclosed12 Nov 2024

Introduced: 7 May 2024

CVE-2024-31083  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 tigervnc-server-module to version 0:1.13.1-8.el9_4.3 or higher.
This issue was patched in ALSA-2024:2616.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tigervnc-server-module package and not the tigervnc-server-module package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 relevant fixed versions and status.

A use-after-free vulnerability was found in the ProcRenderAddGlyphs() function of Xorg servers. This issue occurs when AllocateGlyph() is called to store new glyphs sent by the client to the X server, potentially resulting in multiple entries pointing to the same non-refcounted glyphs. Consequently, ProcRenderAddGlyphs() may free a glyph, leading to a use-after-free scenario when the same glyph pointer is subsequently accessed. This flaw allows an authenticated attacker to execute arbitrary code on the system by sending a specially crafted request.

References

CVSS Base Scores

version 3.1