Vulnerabilities in pkg:pypi/pykmip

PACKAGE
Advisory Identifier: GHSA-gfv6-cj92-g3hx
Advisory Summary

CVE-2018-1000872 is a HIGH (CVSS 6.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Pykmip libraries in the PyPI ecosystem. The issue involves pykmip denial of service vulnerability. Remediation is available by upgrading affected packages to version 0.8.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/pykmip

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/pykmip. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-gfv6-cj92-g3hx CVE-2018-1000872 HIGH PyKMIP Denial of service vulnerability

CVE-2018-1000872 at a Glance

CVE Identifier CVE-2018-1000872
GHSA Identifier GHSA-gfv6-cj92-g3hx
Severity HIGH
CVSS v3.1 Base Score 6.5
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Pykmip
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2018-1000872

To remediate this vulnerability, upgrade all affected Pykmip dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

pykmip fixed: 0.8.0
pip install pykmip>=0.8.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show pykmip

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2018-1000872, inspect your installed packages using pip:

pip show pykmip

Analyze the terminal output to locate any version of Pykmip in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.8.0), your application is affected.

Note: The pip show pykmip command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Pykmip, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

OpenKMIP PyKMIP version All versions before 0.8.0 contains a CWE 399: Resource Management Errors (similar issue to CVE-2015-5262) vulnerability in PyKMIP server that can result in DOS: the server can be made unavailable by one or more clients opening all of the available sockets. This attack appear to be exploitable via A client or clients open sockets with the server and then never close them. This vulnerability appears to have been fixed in 0.8.0.

CVE-2018-1000872 Affected Pykmip Versions

1 component(s)
Fixed Versions:
0.8.0
Product / Package Ecosystem Affected Versions Fixed Version
pykmip
PyPI
< 0.8.0
0.8.0

References

Frequently Asked Questions

What is CVE-2018-1000872?
CVE-2018-1000872 is a security vulnerability in Pykmip involving PyKMIP Denial of service vulnerability under CWE-400: Uncontrolled Resource Consumption.
Which Pykmip versions are affected?
Affected versions include releases prior to 0.8.0 across affected packages: pykmip.
What version fixes CVE-2018-1000872?
Upgrading to 0.8.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is pykmip affected?
Yes, pykmip is affected in releases prior to 0.8.0. Upgrade your dependency to 0.8.0 or later.
What is the CVSS score of CVE-2018-1000872?
CVE-2018-1000872 has a CVSS v3.1 base score of 6.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2018-1000872?
CVE-2018-1000872 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check PyPI dependencies for CVE-2018-1000872?
Run the dependency tree command: 'pip show pykmip'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-gfv6-cj92-g3hx",
  "modified" : "2024-10-23T15:56:53Z",
  "published" : "2018-12-21T17:46:39Z",
  "aliases" : [ "CVE-2018-1000872" ],
  "summary" : "PyKMIP Denial of service vulnerability",
  "details" : "OpenKMIP PyKMIP version All versions before 0.8.0 contains a CWE 399: Resource Management Errors (similar issue to CVE-2015-5262) vulnerability in PyKMIP server that can result in DOS: the server can be made unavailable by one or more clients opening all of the available sockets. This attack appear to be exploitable via A client or clients open sockets with the server and then never close them. This vulnerability appears to have been fixed in 0.8.0.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "pykmip"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.8.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-1000872"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/OpenKMIP/PyKMIP/issues/430"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/OpenKMIP/PyKMIP/commit/3a7b880bdf70d295ed8af3a5880bab65fa6b3932"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/OpenKMIP/PyKMIP"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-gfv6-cj92-g3hx"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/pykmip/PYSEC-2018-22.yaml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:37:11Z",
    "nvd_published_at" : null
  }
}