Out-of-bounds Read Affecting freerdp package, versions <2:2.11.2-1.el9


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.29% (70th 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-RHEL9-FREERDP-7882554
  • published3 Sept 2024
  • 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 RHEL:9 freerdp to version 2:2.11.2-1.el9 or higher.
This issue was patched in RHSA-2024:2208.

NVD Description

Note: Versions mentioned in the description apply only to the upstream freerdp package and not the freerdp package as distributed by RHEL. See How to fix? for RHEL:9 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