{"schema_version":"1.7.3","id":"GHSA-qfc5-mcwq-26q8","published":"2020-03-12T17:02:50Z","modified":"2024-10-21T21:25:46.489783Z","aliases":["CVE-2019-18874","PYSEC-2019-41"],"summary":"Double Free in psutil","details":"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.","affected":[{"package":{"name":"psutil","ecosystem":"PyPI","purl":"pkg:pypi/psutil"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.6"}]}],"versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.2.0","0.2.1","0.3.0","0.4.0","0.4.1","0.5.0","0.5.1","0.6.0","0.6.1","0.7.0","0.7.1","1.0.0","1.0.1","1.1.0","1.1.1","1.1.2","1.1.3","1.2.0","1.2.1","2.0.0","2.1.0","2.1.1","2.1.2","2.1.3","2.2.0","2.2.1","3.0.0","3.0.1","3.1.0","3.1.1","3.2.0","3.2.1","3.2.2","3.3.0","3.4.0","3.4.1","3.4.2","4.0.0","4.1.0","4.2.0","4.3.0","4.3.1","4.4.0","4.4.1","4.4.2","5.0.0","5.0.1","5.1.0","5.1.1","5.1.2","5.1.3","5.2.0","5.2.1","5.2.2","5.3.0","5.3.1","5.4.0","5.4.1","5.4.2","5.4.3","5.4.4","5.4.5","5.4.6","5.4.7","5.4.8","5.5.0","5.5.1","5.6.0","5.6.1","5.6.2","5.6.3","5.6.4","5.6.5"],"database_specific":{"last_known_affected_version_range":"<= 5.6.5","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/03/GHSA-qfc5-mcwq-26q8/GHSA-qfc5-mcwq-26q8.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-18874"},{"type":"WEB","url":"https://github.com/giampaolo/psutil/pull/1616"},{"type":"WEB","url":"https://github.com/giampaolo/psutil/commit/7d512c8e4442a896d56505be3e78f1156f443465"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-qfc5-mcwq-26q8"},{"type":"PACKAGE","url":"https://github.com/giampaolo/psutil"},{"type":"WEB","url":"https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#566"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/psutil/PYSEC-2019-41.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/11/msg00018.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2P7QI7MOTZTFXQYU23CP3RAWXCERMOAS"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLETTJYZL2SMBUI4Q2NGBMGPDPP54SRG"},{"type":"WEB","url":"https://usn.ubuntu.com/4204-1"}],"database_specific":{"cwe_ids":["CWE-415"],"github_reviewed":true,"github_reviewed_at":"2020-03-12T17:02:28Z","nvd_published_at":null,"severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"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"}]}