Use After Free in Freerdp
CVE-2023-39355
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H.
EPSS exploit prediction
EPSS 0.013, 70.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Freerdp — versions 3.0.0, >= 3.0.0-beta1, < 3.0.0-beta3
- Debian Linux — versions 10.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (pwn2carr/pwn2carr). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-hvwj-vmg6-2f5h (Exploit, Vendor Advisory)
- https://github.com/FreeRDP/FreeRDP/commit/d6f9d33a7db0b346195b6a15b5b99944ba41beee (Patch)
- lists.debian.org/debian-lts-announce/2023/10/msg00008.html (Mailing List, Third Party Advisory)
- security.gentoo.org/glsa/202401-16