GSD-2019-18874

Vulnerability from gsd - Updated: 2023-12-13 01:23
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.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2019-18874",
    "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.",
    "id": "GSD-2019-18874",
    "references": [
      "https://www.suse.com/security/cve/CVE-2019-18874.html",
      "https://access.redhat.com/errata/RHSA-2021:4324",
      "https://access.redhat.com/errata/RHSA-2021:4162",
      "https://access.redhat.com/errata/RHSA-2021:1313",
      "https://access.redhat.com/errata/RHSA-2020:5249",
      "https://access.redhat.com/errata/RHSA-2020:4299",
      "https://access.redhat.com/errata/RHSA-2020:4255",
      "https://access.redhat.com/errata/RHSA-2020:4254",
      "https://access.redhat.com/errata/RHSA-2020:2635",
      "https://access.redhat.com/errata/RHSA-2020:2593",
      "https://access.redhat.com/errata/RHSA-2020:2583",
      "https://ubuntu.com/security/CVE-2019-18874",
      "https://advisories.mageia.org/CVE-2019-18874.html",
      "https://linux.oracle.com/cve/CVE-2019-18874.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2019-18874"
      ],
      "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.",
      "id": "GSD-2019-18874",
      "modified": "2023-12-13T01:23:50.160329Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2019-18874",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "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."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/giampaolo/psutil/pull/1616",
            "refsource": "MISC",
            "url": "https://github.com/giampaolo/psutil/pull/1616"
          },
          {
            "name": "[debian-lts-announce] 20191118 [SECURITY] [DLA 1998-1] python-psutil security update",
            "refsource": "MLIST",
            "url": "https://lists.debian.org/debian-lts-announce/2019/11/msg00018.html"
          },
          {
            "name": "USN-4204-1",
            "refsource": "UBUNTU",
            "url": "https://usn.ubuntu.com/4204-1/"
          },
          {
            "name": "FEDORA-2020-a06ebafad8",
            "refsource": "FEDORA",
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2P7QI7MOTZTFXQYU23CP3RAWXCERMOAS/"
          },
          {
            "name": "FEDORA-2020-021fb887ac",
            "refsource": "FEDORA",
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLETTJYZL2SMBUI4Q2NGBMGPDPP54SRG/"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c=5.6.5",
          "affected_versions": "All versions up to 5.6.5",
          "cvss_v2": "AV:N/AC:L/Au:N/C:N/I:N/A:P",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-415",
            "CWE-937"
          ],
          "date": "2021-08-19",
          "description": "psutil (aka python-psutil) 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.",
          "fixed_versions": [
            "5.6.6"
          ],
          "identifier": "CVE-2019-18874",
          "identifiers": [
            "GHSA-qfc5-mcwq-26q8",
            "CVE-2019-18874"
          ],
          "not_impacted": "All versions after 5.6.5",
          "package_slug": "pypi/psutil",
          "pubdate": "2020-03-12",
          "solution": "Upgrade to version 5.6.6 or above.",
          "title": "Double Free",
          "urls": [
            "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://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2P7QI7MOTZTFXQYU23CP3RAWXCERMOAS/",
            "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLETTJYZL2SMBUI4Q2NGBMGPDPP54SRG/",
            "https://usn.ubuntu.com/4204-1/",
            "https://github.com/advisories/GHSA-qfc5-mcwq-26q8"
          ],
          "uuid": "3442992c-a35d-414a-9089-2bafbc3ef5aa"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:psutil_project:psutil:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "5.6.5",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2019-18874"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-415"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/giampaolo/psutil/pull/1616",
              "refsource": "MISC",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://github.com/giampaolo/psutil/pull/1616"
            },
            {
              "name": "[debian-lts-announce] 20191118 [SECURITY] [DLA 1998-1] python-psutil security update",
              "refsource": "MLIST",
              "tags": [],
              "url": "https://lists.debian.org/debian-lts-announce/2019/11/msg00018.html"
            },
            {
              "name": "USN-4204-1",
              "refsource": "UBUNTU",
              "tags": [],
              "url": "https://usn.ubuntu.com/4204-1/"
            },
            {
              "name": "FEDORA-2020-a06ebafad8",
              "refsource": "FEDORA",
              "tags": [],
              "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2P7QI7MOTZTFXQYU23CP3RAWXCERMOAS/"
            },
            {
              "name": "FEDORA-2020-021fb887ac",
              "refsource": "FEDORA",
              "tags": [],
              "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLETTJYZL2SMBUI4Q2NGBMGPDPP54SRG/"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 5.0,
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:P",
            "version": "2.0"
          },
          "exploitabilityScore": 10.0,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 3.6
        }
      },
      "lastModifiedDate": "2019-11-18T21:15Z",
      "publishedDate": "2019-11-12T02:15Z"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…