Use After Free Affecting freerdp/freerdp package, versions [3.0.0-beta1,3.0.0-beta3)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.22% (61st 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-FREERDPFREERDP-5880483
  • published4 Sept 2023
  • disclosed31 Aug 2023
  • creditUnknown

Introduced: 31 Aug 2023

CVE-2023-39355  (opens in a new tab)
CWE-416  (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 Use After Free when processing RDPGFX_CMDID_RESETGRAPHICS packets. An attacker can exploit a Use-After-Free condition by taking advantage of the fact that if context->maxPlaneSize is 0, context->planesBuffer will be freed without updating context->planesBuffer.

References

CVSS Base Scores

version 3.1