Integer Underflow Affecting freerdp/freerdp package, versions [,2.11.6)[3.0.0,3.5.0)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-FREERDPFREERDP-6672303
  • published23 Apr 2024
  • disclosed22 Apr 2024
  • creditEvgeny Legerov

Introduced: 22 Apr 2024

CVE-2024-32040  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade freerdp/freerdp to version 2.11.6, 3.5.0 or higher.

Overview

Affected versions of this package are vulnerable to Integer Underflow due to an integer underflow in the nsc_rle_decode function. An attacker can cause a denial of service or potentially execute arbitrary code by sending crafted input to the server.

Note:

Only connections to servers using the NSC codec are affected.

CVSS Base Scores

version 3.1