Bug 1661117 (CVE-2018-20020)

Summary: CVE-2018-20020 libvncserver: Heap out-of-bound write inside structure in VNC client code allows for potential code execution
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: negativo17, ppisar, rdieter, sfowler
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: 2021-10-25 22:22:31 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: 1661118, 1661119, 1663000, 1663005    
Bug Blocks: 1661105    

Description Sam Fowler 2018-12-20 07:06:11 UTC
LibVNC before commit 7b1ef0ffc4815cab9a96c7278394152bdc89dc4d contains heap out-of-bound write vulnerability inside structure in VNC client code that can result remote code execution.


External Reference:

https://ics-cert.kaspersky.com/advisories/klcert-advisories/2018/12/19/klcert-18-030-libvnc-heap-out-of-bound-write/


Upstream Patch:

https://github.com/LibVNC/libvncserver/commit/7b1ef0ffc4815cab9a96c7278394152bdc89dc4d

Comment 1 Sam Fowler 2018-12-20 07:06:25 UTC
Created libvncserver tracking bugs for this issue:

Affects: epel-7 [bug 1661119]
Affects: fedora-all [bug 1661118]

Comment 2 Sam Fowler 2018-12-20 07:38:33 UTC
Upstream Issue:

https://github.com/LibVNC/libvncserver/issues/250