#VU22848 Double Free in psutil


Published: 2019-11-19

Vulnerability identifier: #VU22848

Vulnerability risk: High

CVSSv3.1: 9 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:U/RC:C]

CVE-ID: CVE-2019-18874

CWE-ID: CWE-415

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
psutil
Universal components / Libraries / Libraries used by multiple products

Vendor: Giampaolo Rodolà

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.

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

Vulnerable software versions

psutil: 0.1.0 - 5.6.5


External links
http://github.com/giampaolo/psutil/pull/1616
http://lists.debian.org/debian-lts-announce/2019/11/msg00018.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability