Bug 2236770 (CVE-2023-39355) - CVE-2023-39355 freerdp: use-after-free in RDPGFX_CMDID_RESETGRAPHICS
Summary: CVE-2023-39355 freerdp: use-after-free in RDPGFX_CMDID_RESETGRAPHICS
Keywords:
Status: NEW
Alias: CVE-2023-39355
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: 2236771 2236772
Blocks: 2236652
TreeView+ depends on / blocked
 
Reported: 2023-09-01 13:20 UTC by Marian Rehak
Modified: 2024-01-31 18:33 UTC (History)
2 users (show)

Fixed In Version: freerdp 3.0.0-beta3
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in FreeRDP. If `context->maxPlaneSize` is 0, `context->planesBuffer` will be freed. However, without updating `context->planesBuffer`, this may result in a use-after-free problem, leading to a crash.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2023-09-01 13:20:36 UTC
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Versions of FreeRDP on the 3.x release branch before beta3 are subject to a Use-After-Free in processing `RDPGFX_CMDID_RESETGRAPHICS` packets. If `context->maxPlaneSize` is 0, `context->planesBuffer` will be freed. However, without updating `context->planesBuffer`, this leads to a Use-After-Free exploit vector. In most environments this should only result in a crash. This issue has been addressed in version 3.0.0-beta3 and users of the beta 3.x releases are advised to upgrade. There are no known workarounds for this vulnerability.

https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-hvwj-vmg6-2f5h
https://github.com/FreeRDP/FreeRDP/commit/d6f9d33a7db0b346195b6a15b5b99944ba41beee

Comment 2 Ondrej Holy 2023-09-01 14:06:27 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.