Buffer Access with Incorrect Length Value Affecting libvncserver package, versions <0:0.9.9-12.el7_5


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.66% (80th 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-RHEL7-LIBVNCSERVER-4813273
  • published26 Jul 2021
  • disclosed18 Feb 2018

Introduced: 18 Feb 2018

CVE-2018-7225  (opens in a new tab)
CWE-805  (opens in a new tab)

How to fix?

Upgrade RHEL:7 libvncserver to version 0:0.9.9-12.el7_5 or higher.
This issue was patched in RHSA-2018:1055.

NVD Description

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

An issue was discovered in LibVNCServer through 0.9.11. rfbProcessClientNormalMessage() in rfbserver.c does not sanitize msg.cct.length, leading to access to uninitialized and potentially sensitive data or possibly unspecified other impact (e.g., an integer overflow) via specially crafted VNC packets.