Stack-based Buffer Overflow Affecting tigervnc package, versions <0:1.8.0-21.el7


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.55% (79th 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-CENTOS7-TIGERVNC-2171857
  • published26 Jul 2021
  • disclosed20 Dec 2019

Introduced: 20 Dec 2019

CVE-2019-15695  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Centos:7 tigervnc to version 0:1.8.0-21.el7 or higher.

NVD Description

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

TigerVNC version prior to 1.10.1 is vulnerable to stack buffer overflow, which could be triggered from CMsgReader::readSetCursor. This vulnerability occurs due to insufficient sanitization of PixelFormat. Since remote attacker can choose offset from start of the buffer to start writing his values, exploitation of this vulnerability could potentially result into remote code execution. This attack appear to be exploitable via network connectivity.

CVSS Scores

version 3.1