CVE-2019-18874: Double Free in psutil
(updated )
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.
References
- github.com/advisories/GHSA-qfc5-mcwq-26q8
- github.com/giampaolo/psutil
- github.com/giampaolo/psutil/blob/master/HISTORY.rst
- github.com/giampaolo/psutil/commit/7d512c8e4442a896d56505be3e78f1156f443465
- github.com/giampaolo/psutil/pull/1616
- github.com/pypa/advisory-database/tree/main/vulns/psutil/PYSEC-2019-41.yaml
- lists.debian.org/debian-lts-announce/2019/11/msg00018.html
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2P7QI7MOTZTFXQYU23CP3RAWXCERMOAS
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLETTJYZL2SMBUI4Q2NGBMGPDPP54SRG
- nvd.nist.gov/vuln/detail/CVE-2019-18874
- usn.ubuntu.com/4204-1
Code Behaviors & Features
Detect and mitigate CVE-2019-18874 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →