cve/2023/CVE-2023-40187.md

18 lines
1.2 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-40187](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-40187)
![](https://img.shields.io/static/v1?label=Product&message=FreeRDP&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3E%3D%203.0.0-beta1%2C%20%3C%203.0.0-beta3%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-416%3A%20Use%20After%20Free&color=brighgreen)
### Description
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions of the 3.x beta branch are subject to a Use-After-Free issue in the `avc420_ensure_buffer` and `avc444_ensure_buffer` functions. If the value of `piDstSize[x]` is 0, `ppYUVDstData[x]` will be freed. However, in this case `ppYUVDstData[x]` will not have been updated which leads to a Use-After-Free vulnerability. This issue has been addressed in version 3.0.0-beta3. Users of the 3.x beta releases are advised to upgrade. There are no known workarounds for this vulnerability.
### POC
#### Reference
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-pwf9-v5p9-ch4f
#### Github
No PoCs found on GitHub currently.