Double Free in psutil - CVE-2019-18874

 

Double Free in psutil - CVE-2019-18874

Published: November 19, 2019


Vulnerability identifier: #VU22848
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2019-18874
CWE-ID: CWE-415
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Giampaolo Rodolà
Affected software:
psutil

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists because of refcount mishandling within a "while" or "for" loop that converts system data into a Python object. A remote attacker can trigger double free error and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2019-18874

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources