Bug 1854910 (CVE-2020-11097)

Summary: CVE-2020-11097 freerdp: out of bounds read in PRIMARY_DRAWING_ORDER_FIELD_BYTES
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: mads, negativo17, oholy, pahan
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: freerdp 2.1.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 20:34:21 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: 1854913, 1854915, 1855907, 1855908    
Bug Blocks: 1854906    

Description Dhananjay Arunesh 2020-07-08 12:36:48 UTC
In FreeRDP before version 2.1.2, an out of bounds read occurs resulting in accessing a memory location that is outside of the boundaries of the static array PRIMARY_DRAWING_ORDER_FIELD_BYTES. This is fixed in version 2.1.2.

References:
http://www.freerdp.com/2020/06/22/2_1_2-released
https://github.com/FreeRDP/FreeRDP/commit/58a3122250d54de3a944c487776bcd4d1da4721e
https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-c8x2-c3c9-9r3f

Comment 1 Dhananjay Arunesh 2020-07-08 12:38:09 UTC
Created freerdp tracking bugs for this issue:

Affects: epel-all [bug 1854915]
Affects: fedora-all [bug 1854913]

Comment 2 Todd Cullum 2020-07-10 22:11:14 UTC
This flaw affects freerdp clients and servers. In winpr/libwinpr/sspi/NTLM/ntlm_av_pairs.c, there is a static array AV_PAIR_STRINGS[] which could be indexed out-of-bounds by routines in the file. The patch uses a getter and sanitization routine to prevent this and modifies the calling functions appropriately.

Comment 4 errata-xmlrpc 2021-05-18 15:34:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:1849 https://access.redhat.com/errata/RHSA-2021:1849

Comment 5 Product Security DevOps Team 2021-05-18 20:34:21 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-11097