Bug 1854871 (CVE-2020-4032) - CVE-2020-4032 freerdp: integer casting vulnerability in update_recv_secondary_order
Summary: CVE-2020-4032 freerdp: integer casting vulnerability in update_recv_secondary...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2020-4032
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1854872 1854873
Blocks: 1854906
TreeView+ depends on / blocked
 
Reported: 2020-07-08 11:49 UTC by Dhananjay Arunesh
Modified: 2021-02-16 19:42 UTC (History)
5 users (show)

Fixed In Version: freerdp 2.1.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-11 01:27:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Dhananjay Arunesh 2020-07-08 11:49:48 UTC
In FreeRDP before version 2.1.2, there is an integer casting vulnerability in update_recv_secondary_order. All clients with +glyph-cache /relax-order-checks are affected. 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/e7bffa64ef5ed70bac94f823e2b95262642f5296
https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-3898-mc89-x2vc

Comment 1 Dhananjay Arunesh 2020-07-08 11:51:55 UTC
Created freerdp tracking bugs for this issue:

Affects: epel-all [bug 1854873]
Affects: fedora-all [bug 1854872]

Comment 2 Todd Cullum 2020-07-10 20:12:03 UTC
Mitigation:

Do not run the freerdp client with the +glyph-cache and /relax-order-checks options.

Comment 3 Todd Cullum 2020-07-10 22:01:01 UTC
In libfreerdp/core/orders.c update_recv_secondary_order(), Stream_Seek() was replaced with Stream_SafeSeek() and a length variable computed in reverse order to avoid an incorrect version between numeric types. This flaw affects freerdp CLIENTs only.

Comment 4 Todd Cullum 2020-07-10 22:05:26 UTC
Statement:

This flaw does not affect versions of freerdp as shipped with any version of Red Hat Enterprise Linux as the vulnerable code was introduced in a newer version of freerdp.

Comment 5 Product Security DevOps Team 2020-07-11 01:27:36 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-4032

Comment 6 Product Security DevOps Team 2020-07-11 07:27:37 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-4032


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