Bug 2276723 (CVE-2024-32039)

Summary: CVE-2024-32039 freerdp: Integer overflow & OutOfBound Write in clear_decompress_residual_data
Product: [Other] Security Response Reporter: Zack Miele <zmiele>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: john.shaw
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: FreeRDP 3.5.0, FreeRDP 2.11.6 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in FreeRDP-based clients. Affected versions of FreeRDP are vulnerable to an integer overflow and out-of-bounds write. This issue occurs when the sum of the `runLengthFactor` and `pixelIndex` values become large enough to overflow the uint32 type and bypass an error check when clearing residual data.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2276739, 2276741, 2276742, 2276743, 2276744    
Bug Blocks: 2276720    

Description Zack Miele 2024-04-23 20:51:08 UTC
FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients using a version of FreeRDP prior to 3.5.0 or 2.11.6 are vulnerable to integer overflow and out-of-bounds write. Versions 3.5.0 and 2.11.6 patch the issue. As a workaround, do not use `/gfx` options (e.g. deactivate with `/bpp:32` or `/rfx` as it is on by default).

https://github.com/FreeRDP/FreeRDP/pull/10077
https://github.com/FreeRDP/FreeRDP/releases/tag/2.11.6
https://github.com/FreeRDP/FreeRDP/releases/tag/3.5.0

Comment 1 Zack Miele 2024-04-23 21:13:48 UTC
Created freerdp tracking bugs for this issue:

Affects: fedora-38 [bug 2276742]
Affects: fedora-39 [bug 2276743]
Affects: fedora-40 [bug 2276739]


Created freerdp1.2 tracking bugs for this issue:

Affects: epel-7 [bug 2276741]


Created freerdp2 tracking bugs for this issue:

Affects: fedora-40 [bug 2276744]

Comment 3 john.shaw 2024-05-03 16:34:59 UTC
Does this vulnerability affect a RHEL 7.9 system that only has freerdp-libs-2.1.1-5.el7_9.x86_64?

Comment 4 errata-xmlrpc 2024-11-12 08:42:57 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:9092 https://access.redhat.com/errata/RHSA-2024:9092