Bug 1829870 (CVE-2019-20788)

Summary: CVE-2019-20788 libvncserver: integer overflow and heap-based buffer overflow in libvncclient/cursor.c in HandleCursorShape function
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: jadahl, negativo17, rdieter, scorneli
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in libvncserver in versions through 0.9.12. A large height or width value may cause an integer overflow or a heap-based buffer overflow. The highest threat from this vulnerability is to system availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-12 13:49:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1829871, 1829872    
Bug Blocks: 1829873    

Description Guilherme de Almeida Suckevicz 2020-04-30 13:55:28 UTC
libvncclient/cursor.c in LibVNCServer through 0.9.12 has a HandleCursorShape integer overflow and heap-based buffer overflow via a large height or width value. NOTE: this may overlap CVE-2019-15690.

Reference and upstream commit:
https://github.com/LibVNC/libvncserver/commit/54220248886b5001fbbb9fa73c4e1a2cb9413fed

Comment 1 Guilherme de Almeida Suckevicz 2020-04-30 13:55:48 UTC
Created libvncserver tracking bugs for this issue:

Affects: epel-7 [bug 1829872]
Affects: fedora-all [bug 1829871]

Comment 2 Stefan Cornelius 2020-05-12 13:49:41 UTC

*** This bug has been marked as a duplicate of bug 1811948 ***

Comment 3 Doran Moppert 2020-06-17 03:17:50 UTC
Statement:

This flaw was found to be a duplicate of CVE-2019-15690. Please see https://access.redhat.com/security/cve/CVE-2019-15690 for information about affected products and security errata.