CVE & CISA-KEV Catalog

CVE-2021-41159

MEDIUM
5.8
CVSS v3
NVD

Description

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. All FreeRDP clients prior to version 2.4.1 using gateway connections (`/gt:rpc`) fail to validate input data. A malicious gateway might allow client memory to be written out of bounds. This issue has been resolved in version 2.4.1. If you are unable to update then use `/gt:http` rather than /gt:rdp connections if possible or use a direct connection without a gateway.

How to fix

Remediation Available
freerdp2Debian
Fixed in:2.4.1+dfsg1-1CVE-2021-41159
freerdp2Ubuntu
Fixed in:2.2.0+dfsg1-0ubuntu0.18.04.2USN-5154-1
Fixed in:2.2.0+dfsg1-0ubuntu0.20.04.2USN-5154-1
libfreerdp-client2-2Ubuntu
Fixed in:2.2.0+dfsg1-0ubuntu0.18.04.2USN-5154-1
Fixed in:2.2.0+dfsg1-0ubuntu0.20.04.2USN-5154-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredHigh
User InteractionNone
ScopeChanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N

Exploit Intelligence

1.35%probability of exploitation in 30 days
68thpercentile

Moderate risk: more likely to be exploited than 68% of all known CVEs.

References

Third-Party Advisory2
Other references1

Related Vulnerabilities

Other CWE-787 (Out-of-bounds Write) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-22457Critical9.0100%KEV + RansomFix
CVE-2025-0282Critical9.0100%KEV + Ransom-
CVE-2015-3113Critical9.8100%KEVFix
CVE-2021-20038Critical9.8100%KEV + Ransom-
CVE-2023-4863High8.8100%KEVFix
CVE-2020-16040Medium6.5100%-Fix
Embed a live status badge for CVE-2021-41159
CVE-2021-41159 severity badge

Markdown

[![CVE-2021-41159](https://tridentstack.com/cve/badge/CVE-2021-41159.svg)](https://tridentstack.com/cve/CVE-2021-41159)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-41159"><img src="https://tridentstack.com/cve/badge/CVE-2021-41159.svg" alt="CVE-2021-41159"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.