Out-of-Bounds Affecting freerdp/freerdp package, versions [3.0.0-beta1,3.0.0-beta3)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of Concept
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-5880465
  • published4 Sept 2023
  • disclosed31 Aug 2023
  • creditUnknown

Introduced: 31 Aug 2023

CVE-2023-40574  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Out-of-Bounds in the writePixelBGRX function, an attacker can manipulate the nHeight and srcStep variables to cause an Out-Of-Bounds Write, potentially leading to data corruption or other unintended behavior. This is due to incorrect calculations of these variables.

CVSS Base Scores

version 3.1