Bug 2236656 (CVE-2023-40567) - CVE-2023-40567 freerdp: Out-of-bounds write in clear_decompress_bands_data
Summary: CVE-2023-40567 freerdp: Out-of-bounds write in clear_decompress_bands_data
Keywords:
Status: NEW
Alias: CVE-2023-40567
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: 2236666 2236667
Blocks: 2236652
TreeView+ depends on / blocked
 
Reported: 2023-09-01 05:52 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:
A flaw was found in FreeRDP. Improper validation in the `clear_decompress_bands_data` function may allow for an out-of-bounds write, resulting 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:47 UTC

Description Marian Rehak 2023-09-01 05:52:57 UTC
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions are subject to an Out-Of-Bounds Write in the `clear_decompress_bands_data` function in which there is no offset validation. Abuse of this vulnerability may lead to an out of bounds write. 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 vulnerability.

https://github.com/FreeRDP/FreeRDP/blob/5be5553e0da72178a4b94cc1ffbdace9ceb153e5/libfreerdp/codec/clear.c#L843-L845
https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-2w9f-8wg4-8jfp
https://github.com/FreeRDP/FreeRDP/blob/5be5553e0da72178a4b94cc1ffbdace9ceb153e5/libfreerdp/codec/clear.c#L612-L618

Comment 2 errata-xmlrpc 2024-04-30 09:48:46 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.