Buffer overflow in Freerdp
CVE-2021-41160
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. In affected versions a malicious server might trigger out of bound writes in a connected client. Connections using GDI or SurfaceCommands to send graphics updates to the client might send `0` width/height or out of bound rectangles to trigger out of bound writes. With `0` width or heigth the memory allocation will be `0` but the missing bounds checks allow writing to the pointer at this (not allocated) region. This issue has been patched in FreeRDP 2.4.1.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.017, 77.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Freerdp — versions < 2.4.1
- Fedoraproject Fedora — versions 33, 34, 35
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- Jajangjaman/CVE-2021-41160 (last pushed 2022-12-27): FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. In affected versions a malicious server might trigger out of bound writes in a connected clie…
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/FreeRDP/FreeRDP/security/advisories/GHSA-7c9r-6r2q-93qg (Third Party Advisory)
- FEDORA-2021-2c25f03d0b (vendor-advisory)
- FEDORA-2021-5d227916bc (vendor-advisory)
- FEDORA-2021-ac23d9e47f (vendor-advisory)
- GLSA-202210-24 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20231117 [SECURITY] [DLA 3654-1] freerdp2 security update (mailing-list)
- lists.debian.org/debian-lts-announce/2025/02/msg00016.html
This CVE has public exploit evidence. See the latest CVEs with public exploits.