Use After Free Affecting freerdp2 package, versions <2.3.0+dfsg1-2+deb10u3


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.2% (59th 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-DEBIAN10-FREERDP2-5877590
  • published1 Sept 2023
  • disclosed31 Aug 2023

Introduced: 31 Aug 2023

CVE-2023-39355  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Debian:10 freerdp2 to version 2.3.0+dfsg1-2+deb10u3 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 Debian. See How to fix? for Debian:10 relevant fixed versions and status.

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Versions of FreeRDP on the 3.x release branch before beta3 are subject to a Use-After-Free in processing RDPGFX_CMDID_RESETGRAPHICS packets. If context-&gt;maxPlaneSize is 0, context-&gt;planesBuffer will be freed. However, without updating context-&gt;planesBuffer, this leads to a Use-After-Free exploit vector. In most environments this should only result in a crash. This issue has been addressed in version 3.0.0-beta3 and users of the beta 3.x releases are advised to upgrade. There are no known workarounds for this vulnerability.

CVSS Scores

version 3.1