Bug 2236725 (CVE-2023-40576) - CVE-2023-40576 freerdp: Out-Of-Bounds Read in RleDecompress
Summary: CVE-2023-40576 freerdp: Out-Of-Bounds Read in RleDecompress
Keywords:
Status: NEW
Alias: CVE-2023-40576
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2236726 2236727
Blocks: 2236652
TreeView+ depends on / blocked
 
Reported: 2023-09-01 11:45 UTC by Marian Rehak
Modified: 2024-01-31 16:46 UTC (History)
2 users (show)

Fixed In Version: freerdp 3.0.0-beta3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2023-09-01 11:45:18 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 Read in the `RleDecompress` function. This Out-Of-Bounds Read occurs because FreeRDP processes the `pbSrcBuffer` variable without checking if it contains data of sufficient length. Insufficient data in the `pbSrcBuffer` variable may cause errors or crashes. This issue has been addressed in version 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue.

https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-x3x5-r7jm-5pq2
https://github.com/FreeRDP/FreeRDP/blob/5be5553e0da72178a4b94cc1ffbdace9ceb153e5/libfreerdp/codec/include/bitmap.c#L94-L113

Comment 2 Ondrej Holy 2023-09-01 14:06:47 UTC
The upstream report says that this vulnerability affects just version 3. But freerdp 3 isn't included in Fedora, or RHEL. So I think that this can be closed, can't be?


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