Out-of-bounds Read Affecting freerdp2 package, versions <2.6.1+dfsg1-3ubuntu2.5


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.58% (79th 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-UBUNTU2204-FREERDP2-5879223
  • published1 Sept 2023
  • disclosed31 Aug 2023

Introduced: 31 Aug 2023

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

How to fix?

Upgrade Ubuntu:22.04 freerdp2 to version 2.6.1+dfsg1-3ubuntu2.5 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream freerdp2 package and not the freerdp2 package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. In affected versions a missing offset validation may lead to an Out Of Bound Read in the function gdi_multi_opaque_rect. In particular there is no code to validate if the value multi_opaque_rect-&gt;numRectangles is less than 45. Looping through multi_opaque_rect-&gt;numRectangles without proper boundary checks can lead to Out-of-Bounds Read errors which will likely lead to a crash. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CVSS Scores

version 3.1