Double Free in py-psutil (Alpine package)



Published: 2019-11-28
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-18874
CWE-ID CWE-415
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
py-psutil (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Double Free

EUVDB-ID: #VU22848

Risk: High

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

CVE-ID: CVE-2019-18874

CWE-ID: CWE-415 - Double Free

Exploit availability: No

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

Install update from vendor's website.

Vulnerable software versions

py-psutil (Alpine package): 0.6.1-r0 - 5.4.6-r0

External links

http://git.alpinelinux.org/aports/commit/?id=3b5d75ca3de5f2826c0c972f27cc372a51de9c78
http://git.alpinelinux.org/aports/commit/?id=50796da3f3e8eadf80cacb306a27ec6bd6cf2181
http://git.alpinelinux.org/aports/commit/?id=77cd14961576b0ae7a63f47dc80331878237ad7b
http://git.alpinelinux.org/aports/commit/?id=a54e52a4de36c8c484608665e7849b1416b6bbee


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.



###SIDEBAR###