giampaolo/psutil · Security
Double Free in psutil
- GHSA ID
- GHSA-qfc5-mcwq-26q8
- CVE ID
- CVE-2019-18874
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v4
- 8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Description
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.
CWEs
- CWE-415 · Double Free
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-18874 ↗
- https://github.com/giampaolo/psutil/pull/1616 ↗
- https://github.com/giampaolo/psutil/commit/7d512c8e4442a896d56505be3e78f1156f443465 ↗
- https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#566 ↗
- https://lists.debian.org/debian-lts-announce/2019/11/msg00018.html ↗
- https://github.com/advisories/GHSA-qfc5-mcwq-26q8 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/psutil/PYSEC-2019-41.yaml ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/2P7QI7MOTZTFXQYU23CP3RAWXCERMOAS ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/OLETTJYZL2SMBUI4Q2NGBMGPDPP54SRG ↗
- https://usn.ubuntu.com/4204-1 ↗