Bug 2276804 (CVE-2024-32662)

Summary: CVE-2024-32662 freerdp: out-of-bounds read
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: freerdp 3.5.1 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 out-of-bounds read. This issue occurs when the `WCHAR` string is read with twice the size it has and converted to `UTF-8`, `base64` decoded. The string is only used to compare against the redirection server certificate.
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: 2276805, 2276806, 2276807, 2276808, 2276809    
Bug Blocks: 2276720    

Description Avinash Hanwate 2024-04-24 04:50:56 UTC
FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients prior to version 3.5.1 are vulnerable to out-of-bounds read. This occurs when `WCHAR` string is read with twice the size it has and converted to `UTF-8`, `base64` decoded. The string is only used to compare against the redirection server certificate. Version 3.5.1 contains a patch for the issue. No known workarounds are available.

https://github.com/FreeRDP/FreeRDP/commit/626d10a94a88565d957ddc30768ed08b320049a7
https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-vffh-j6hh-95f4
https://oss-fuzz.com/testcase-detail/4985227207311360

Comment 1 Avinash Hanwate 2024-04-24 04:54:37 UTC
Created freerdp tracking bugs for this issue:

Affects: fedora-38 [bug 2276806]
Affects: fedora-39 [bug 2276807]
Affects: fedora-40 [bug 2276808]


Created freerdp1.2 tracking bugs for this issue:

Affects: epel-7 [bug 2276805]


Created freerdp2 tracking bugs for this issue:

Affects: fedora-40 [bug 2276809]

Comment 3 errata-xmlrpc 2024-11-12 08:43:11 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