Use After Free Affecting freerdp/freerdp package, versions [,2.1.2)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.5% (77th 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-2319423
  • published14 Dec 2021
  • disclosed22 Jun 2020
  • creditUnknown

Introduced: 22 Jun 2020

CVE-2020-4031  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade freerdp/freerdp to version 2.1.2 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free. In FreeRDP before version 2.1.2, there is a use-after-free in gdi_SelectObject. All FreeRDP clients using compatibility mode with /relax-order-checks are affected. This is fixed in version 2.1.2.

CVSS Base Scores

version 3.1