Out-of-bounds Read Affecting freerdp/freerdp package, versions [,2.11.0)[3.0.0-beta2,3.0.0-beta3)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.69% (81st 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-5880480
  • published4 Sept 2023
  • disclosed31 Aug 2023
  • creditUnknown

Introduced: 31 Aug 2023

CVE-2023-39356  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade freerdp/freerdp to version 2.11.0, 3.0.0-beta3 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read via the gdi_multi_opaque_rect function by exploiting the lack of offset validation and boundary checks when looping through multi_opaque_rect->numRectangles. This is only exploitable if the value multi_opaque_rect->numRectangles is greater than or equal to 45.

CVSS Base Scores

version 3.1