Bug 1835399 (CVE-2020-11045) - CVE-2020-11045 freerdp: out of bounds read in update_read_bitmap_data function
Summary: CVE-2020-11045 freerdp: out of bounds read in update_read_bitmap_data function
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-11045
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: 1835400 1835401 1835402 1836385 1836386
Blocks: 1835410
TreeView+ depends on / blocked
 
Reported: 2020-05-13 17:53 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-11-04 02:38 UTC (History)
4 users (show)

Fixed In Version: freerdp 2.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-29 22:01:01 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:4031 0 None None None 2020-09-29 20:43:41 UTC
Red Hat Product Errata RHSA-2020:4647 0 None None None 2020-11-04 02:38:40 UTC

Description Guilherme de Almeida Suckevicz 2020-05-13 17:53:06 UTC
In FreeRDP after 1.0 and before 2.0.0, there is an out-of-bound read in in update_read_bitmap_data that allows client memory to be read to an image buffer. The result displayed on screen as colour.

References:
https://github.com/FreeRDP/FreeRDP/issues/6005
https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-3x39-248q-f4q6

Upstream commit:
https://github.com/FreeRDP/FreeRDP/commit/f8890a645c221823ac133dbf991f8a65ae50d637

Comment 1 Guilherme de Almeida Suckevicz 2020-05-13 17:53:29 UTC
Created freerdp tracking bugs for this issue:

Affects: epel-all [bug 1835402]
Affects: fedora-all [bug 1835401]


Created freerdp1.2 tracking bugs for this issue:

Affects: fedora-all [bug 1835400]

Comment 2 Todd Cullum 2020-05-15 18:18:49 UTC
Technical Summary:

update_read_bitmap_data() does not check the length of the stream remaining before reading 8 bytes of data from the stream; thus it is possible to read up to 8 bytes past the end of the stream buffer, when certain bitmap flags are set. The read data will be stored in bitmap metadata size variables.

Comment 4 errata-xmlrpc 2020-09-29 20:43:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:4031 https://access.redhat.com/errata/RHSA-2020:4031

Comment 5 Product Security DevOps Team 2020-09-29 22:01:01 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-11045

Comment 6 errata-xmlrpc 2020-11-04 02:38:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:4647 https://access.redhat.com/errata/RHSA-2020:4647


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