Bug 1549172 (CVE-2018-7226)

Summary: CVE-2018-7226 libvncserver: integer overflow in vcSetXCutTextProc in VNConsole.c
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: negativo17, ppisar, rdieter
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-03 08:09:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1549173, 1549174    
Bug Blocks: 1546862    

Description Laura Pardo 2018-02-26 15:32:26 UTC
An issue was discovered in vcSetXCutTextProc() in VNConsole.c in LinuxVNC and VNCommand from the LibVNC/vncterm distribution through 0.9.10. Missing sanitization of the client-specified message length may cause integer overflow or possibly have unspecified other impact via a specially crafted VNC packet.


References:
https://github.com/LibVNC/vncterm/issues/6
http://openwall.com/lists/oss-security/2018/02/18/2

Comment 1 Laura Pardo 2018-02-26 15:32:58 UTC
Created libvncserver tracking bugs for this issue:

Affects: epel-7 [bug 1549173]
Affects: fedora-all [bug 1549174]

Comment 2 Stefan Cornelius 2018-04-03 08:09:04 UTC
vncterm is not shipped as part of our RHEL6/7 packages.

Comment 3 Stefan Cornelius 2018-04-03 08:09:14 UTC
Statement:

This issue did not affect the versions of libvncserver as shipped with Red Hat Enterprise Linux 6 and 7.