CVE-2021-41159: Improper client input validation for FreeRDP gateway connections allows to overwrite memory

Published Oct 21, 2021
·
Updated

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.

Affected Software

2 affected components
FreeRDP freerdp<2.4.1
Fedoraproject Fedora=35

Event History

Oct 21, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2021-41159?

CVE-2021-41159 is a vulnerability that affects all FreeRDP clients prior to version 2.4.1.

2

What is FreeRDP?

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP) released under the Apache license.

3

How does CVE-2021-41159 impact FreeRDP?

CVE-2021-41159 allows a malicious gateway to write client memory out of bounds in FreeRDP clients using gateway connections (`/gt:rpc`).

4

What is the severity of CVE-2021-41159?

CVE-2021-41159 has a severity rating of 8.8 (high).

5

How do I fix CVE-2021-41159?

To fix CVE-2021-41159, users should update their FreeRDP clients to version 2.4.1 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203