CVE-2024-32040: FreeRDP vulnerable to integer underflow in nsc_rle_decode
FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients that use a version of FreeRDP prior to 3.5.0 or 2.11.6 and have connections to servers using the NSC codec are vulnerable to integer underflow. Versions 3.5.0 and 2.11.6 patch the issue. As a workaround, do not use the NSC codec (e.g. use -nsc).
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/FreeRDPto a version that resolves this vulnerability.Fixed in 3.5.0 - Upgrade
Upgrade
redhat/FreeRDPto a version that resolves this vulnerability.Fixed in 2.11.6 - Upgrade
Upgrade
debian/freerdp2to a version that resolves this vulnerability.Fixed in 2.11.7+dfsg1-6~deb12u1 - Upgrade
Upgrade
debian/freerdp3to a version that resolves this vulnerability.Fixed in 3.15.0+dfsg-2.1+deb13u3Fixed in 3.32.2+dfsg-1Fixed in 3.33.0+dfsg-1 - Upgrade
Upgrade
FreeRDPto a version that resolves this vulnerability.Fixed in 2.11.6 - Upgrade
Upgrade
FreeRDPto a version that resolves this vulnerability.Fixed in 3.5.0 - Configuration
Do not use the NSC codec; invoke FreeRDP with -nsc.
FreeRDP-based clients NSC codec = disabled
Event History
Frequently Asked Questions
What is the severity of CVE-2024-32040?
CVE-2024-32040 has a medium severity rating due to the potential for integer underflow vulnerabilities in FreeRDP.
How do I fix CVE-2024-32040?
To fix CVE-2024-32040, upgrade FreeRDP to version 3.5.0 or 2.11.6 or later.
Which versions of FreeRDP are vulnerable to CVE-2024-32040?
FreeRDP versions prior to 3.5.0 and 2.11.6 are vulnerable to CVE-2024-32040.
What types of systems are affected by CVE-2024-32040?
CVE-2024-32040 affects FreeRDP clients connected to servers using the NSC codec.
Is CVE-2024-32040 specific to any operating system?
CVE-2024-32040 is particularly relevant to systems running Ubuntu and Debian distributions.