Vulnerabilities in pkg:pypi/ovirt-engine-sdk-python

PACKAGE
Advisory Identifier: GHSA-wf9j-m9fv-92gq
Advisory Summary

CVE-2014-0161 is a HIGH (CVSS 5.9) ovirt-engine-sdk-python improper validation of hostname vulnerability (CWE-295: Improper Certificate Validation) affecting Ovirt engine sdk python libraries in the PyPI ecosystem. The issue involves ovirt-engine-sdk-python improper validation of hostname in x.509 certificate. Remediation is available by upgrading affected packages to version 3.4.0.7, 3.5.0.4.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/ovirt-engine-sdk-python

1 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-wf9j-m9fv-92gq CVE-2014-0161 HIGH ovirt-engine-sdk-python improper validation of hostname in x.509 certificate

CVE-2014-0161 at a Glance

CVE Identifier CVE-2014-0161
GHSA Identifier GHSA-wf9j-m9fv-92gq
Severity HIGH
CVSS v3.1 Base Score 5.9
CWE Classification CWE-295: Improper Certificate Validation
Affected Product Ovirt engine sdk python
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.9

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

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 None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2014-0161

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

ovirt-engine-sdk-python fixed: 3.4.0.7
pip install ovirt-engine-sdk-python>=3.4.0.7
ovirt-engine-sdk-python fixed: 3.5.0.4
pip install ovirt-engine-sdk-python>=3.5.0.4
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 ovirt-engine-sdk-python

How to Check if You Are Affected

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

pip show ovirt-engine-sdk-python

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

Note: The pip show ovirt-engine-sdk-python 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 Ovirt engine sdk python, 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

ovirt-engine-sdk-python before 3.4.0.7 and 3.5.0.4 does not verify that the hostname of the remote endpoint matches the Common Name (CN) or subjectAltName as specified by its x.509 certificate in a TLS/SSL session. This could allow man-in-the-middle attackers to spoof remote endpoints via an arbitrary valid certificate.

CVE-2014-0161 Affected Ovirt engine sdk python Versions

2 component(s)
Fixed Versions:
3.4.0.73.5.0.4
Product / Package Ecosystem Affected Versions Fixed Version
ovirt-engine-sdk-python
PyPI
< 3.4.0.7
3.4.0.7
ovirt-engine-sdk-python
PyPI
≥ 3.5.0.0
< 3.5.0.4
3.5.0.4

References

Frequently Asked Questions

What is CVE-2014-0161?
CVE-2014-0161 is a security vulnerability in Ovirt engine sdk python involving ovirt-engine-sdk-python improper validation of hostname in x.509 certificate under CWE-295: Improper Certificate Validation.
Which Ovirt engine sdk python versions are affected?
Affected versions include releases prior to 3.4.0.7, 3.5.0.4 across affected packages: ovirt-engine-sdk-python.
What version fixes CVE-2014-0161?
Upgrading to 3.4.0.7, 3.5.0.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ovirt-engine-sdk-python affected?
Yes, ovirt-engine-sdk-python is affected in releases prior to 3.4.0.7, 3.5.0.4. Upgrade your dependency to 3.4.0.7, 3.5.0.4 or later.
What is the CVSS score of CVE-2014-0161?
CVE-2014-0161 has a CVSS v3.1 base score of 5.9 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2014-0161?
CVE-2014-0161 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-2014-0161?
Run the dependency tree command: 'pip show ovirt-engine-sdk-python'. 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-wf9j-m9fv-92gq",
  "modified" : "2024-10-08T12:56:21Z",
  "published" : "2022-05-17T19:57:11Z",
  "aliases" : [ "CVE-2014-0161" ],
  "summary" : "ovirt-engine-sdk-python improper validation of hostname in x.509 certificate",
  "details" : "ovirt-engine-sdk-python before 3.4.0.7 and 3.5.0.4 does not verify that the hostname of the remote endpoint matches the Common Name (CN) or subjectAltName as specified by its x.509 certificate in a TLS/SSL session. This could allow man-in-the-middle attackers to spoof remote endpoints via an arbitrary valid certificate.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "ovirt-engine-sdk-python"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.4.0.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "ovirt-engine-sdk-python"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.5.0.0"
      }, {
        "fixed" : "3.5.0.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-0161"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/cve-2014-0161"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2014-0161"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/oVirt/python-ovirt-engine-sdk4"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/ovirt-engine-sdk-python/PYSEC-2020-245.yaml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-295" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-10-19T17:37:44Z",
    "nvd_published_at" : "2020-01-02T18:15:00Z"
  }
}