Vulnerabilities in pkg:pypi/splunk-sdk

PACKAGE
Advisory Identifier: GHSA-f58w-649r-qjr9
Advisory Summary

CVE-2019-5729 is a CRITICAL (CVSS 8.1) splunk-sdk does not properly verify vulnerability (CWE-295: Improper Certificate Validation) affecting Splunk sdk libraries in the PyPI ecosystem. The issue involves splunk-sdk does not properly verify untrusted tls server certificates. Remediation is available by upgrading affected packages to version 1.6.6.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/splunk-sdk

1 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-f58w-649r-qjr9 CVE-2019-5729 CRITICAL splunk-sdk does not properly verify untrusted TLS server certificates

CVE-2019-5729 at a Glance

CVE Identifier CVE-2019-5729
GHSA Identifier GHSA-f58w-649r-qjr9
Severity CRITICAL
CVSS v3.1 Base Score 8.1
CWE Classification CWE-295: Improper Certificate Validation
Affected Product Splunk sdk
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 8.1

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

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

How to Fix CVE-2019-5729

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

splunk-sdk fixed: 1.6.6
pip install splunk-sdk>=1.6.6
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 splunk-sdk

How to Check if You Are Affected

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

pip show splunk-sdk

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

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

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In Splunk sdk, 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

Splunk-SDK-Python before 1.6.6 does not properly verify untrusted TLS server certificates, which could result in man-in-the-middle attacks.

CVE-2019-5729 Affected Splunk sdk Versions

1 component(s)
Fixed Versions:
1.6.6
Product / Package Ecosystem Affected Versions Fixed Version
splunk-sdk
PyPI
< 1.6.6
1.6.6

References

Frequently Asked Questions

What is CVE-2019-5729?
CVE-2019-5729 is a security vulnerability in Splunk sdk involving splunk-sdk does not properly verify untrusted TLS server certificates under CWE-295: Improper Certificate Validation.
Which Splunk sdk versions are affected?
Affected versions include releases prior to 1.6.6 across affected packages: splunk-sdk.
What version fixes CVE-2019-5729?
Upgrading to 1.6.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is splunk-sdk affected?
Yes, splunk-sdk is affected in releases prior to 1.6.6. Upgrade your dependency to 1.6.6 or later.
What is the CVSS score of CVE-2019-5729?
CVE-2019-5729 has a CVSS v3.1 base score of 8.1 (CRITICAL) with vector string CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2019-5729?
CVE-2019-5729 is classified under CWE-295: Improper Certificate Validation (The product does not validate, or incorrectly validates, a certificate.).
How can I check PyPI dependencies for CVE-2019-5729?
Run the dependency tree command: 'pip show splunk-sdk'. 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-f58w-649r-qjr9",
  "modified" : "2024-10-27T15:34:51Z",
  "published" : "2019-03-25T16:18:04Z",
  "aliases" : [ "CVE-2019-5729" ],
  "summary" : "splunk-sdk does not properly verify untrusted TLS server certificates",
  "details" : "Splunk-SDK-Python before 1.6.6 does not properly verify untrusted TLS server certificates, which could result in man-in-the-middle attacks.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "splunk-sdk"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.6.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-5729"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-f58w-649r-qjr9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/splunk-sdk/PYSEC-2019-203.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/splunk/splunk-sdk-python"
  }, {
    "type" : "WEB",
    "url" : "https://www.splunk.com/view/SP-CAAAQAD"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-295" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:33:41Z",
    "nvd_published_at" : null
  }
}