Unchecked Return Value Affecting freerdp/freerdp package, versions [,1.1.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.83% (74th 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-2319451
  • published14 Dec 2021
  • disclosed4 Oct 2019
  • creditUnknown

Introduced: 4 Oct 2019

CVE-2019-17178  (opens in a new tab)
CWE-252  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade freerdp/freerdp to version 1.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Unchecked Return Value. HuffmanTree_makeFromFrequencies in lodepng.c in LodePNG through 2019-09-28, as used in WinPR in FreeRDP and other products, has a memory leak because a supplied realloc pointer (i.e., the first argument to realloc) is also used for a realloc return value.

CVSS Base Scores

version 3.1