Bug 2236750 (CVE-2023-40186) - CVE-2023-40186 freerdp: Integer overflow leading to out-of-bound write vulnerability in gdi_CreateSurface
Summary: CVE-2023-40186 freerdp: Integer overflow leading to out-of-bound write vulner...
Keywords:
Status: NEW
Alias: CVE-2023-40186
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2236753 2236754
Blocks: 2236652
TreeView+ depends on / blocked
 
Reported: 2023-09-01 12:59 UTC by Marian Rehak
Modified: 2024-04-30 09:48 UTC (History)
2 users (show)

Fixed In Version: freerdp 2.11.0, freerdp 3.0.0-beta3
Doc Type: If docs needed, set a value
Doc Text:
An integer overflow vulnerability was found in the `gdi_CreateSurface` function in FreeRDP, which may result in a crash.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:2208 0 None None None 2024-04-30 09:48:50 UTC

Description Marian Rehak 2023-09-01 12:59:25 UTC
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions are subject to an IntegerOverflow leading to Out-Of-Bound Write Vulnerability in the `gdi_CreateSurface` function. This issue affects FreeRDP based clients only. FreeRDP proxies are not affected as image decoding is not done by a proxy. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue.

https://github.com/FreeRDP/FreeRDP/blob/fee2b10ba1154f952769a53eb608f044782e22f8/libfreerdp/gdi/gfx.c#L1156-L1165
https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-hcj4-3c3r-5j3v

Comment 2 errata-xmlrpc 2024-04-30 09:48:49 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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


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