Bug 1860337 (CVE-2020-14404) - CVE-2020-14404 libvncserver: libvncserver/rre.c allows out-of-bounds access via encodings
Summary: CVE-2020-14404 libvncserver: libvncserver/rre.c allows out-of-bounds access v...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2020-14404
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1860338 1860339 1861163 1861164 1861165 1861166
Blocks: 1860332
TreeView+ depends on / blocked
 
Reported: 2020-07-24 10:27 UTC by Marian Rehak
Modified: 2021-11-02 17:19 UTC (History)
4 users (show)

Fixed In Version: libvncserver 0.9.13
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-02 17:19:06 UTC


Attachments (Terms of Use)

Description Marian Rehak 2020-07-24 10:27:06 UTC
An issue was discovered in LibVNCServer before 0.9.13. libvncserver/rre.c allows out-of-bounds access via encodings.

Upstream commit:

CVE-2020-14404

Comment 1 Marian Rehak 2020-07-24 10:29:15 UTC
Created libvncserver tracking bugs for this issue:

Affects: epel-7 [bug 1860338]
Affects: fedora-all [bug 1860339]

Comment 2 Todd Cullum 2020-07-28 00:33:21 UTC
in  libvncserver/rre.c's subrectEncode##bpp() rectangle encoder, there's a potential out-of-bounds read due to && operator order. The patch reverses the order. This flaw could potentially cause undefined behavior or a crash if the width (w) is incorrect.


Note You need to log in before you can comment on or make changes to this bug.