Double Free Affecting giampaolo/psutil package, versions [0,5.6.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
3.52% (88th 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 Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-GIAMPAOLOPSUTIL-2365924
  • published26 Jan 2022
  • disclosed12 Nov 2019
  • creditUnknown

Introduced: 12 Nov 2019

CVE-2019-18874  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade giampaolo/psutil to version 5.6.6 or higher.

Overview

Affected versions of this package are vulnerable to Double Free psutil (aka python-psutil) through 5.6.5 can have a double free. This occurs because of refcount mishandling within a while or for loop that converts system data into a Python object.

References

CVSS Base Scores

version 3.1