CVE-2015-5306: Python ironic inspector client Injection Vulnerability That Affects Ironic-discoverd Vulnerability

CRITICAL
Advisory Identifier: GHSA-x64g-wjmw-w328
CVSS 8.1
Published
Advisory Summary

CVE-2015-5306 is a CRITICAL (CVSS 8.1) injection vulnerability that affects ironic-discoverd vulnerability (General Security Weakness) affecting Python ironic inspector client libraries in the PyPI ecosystem. The issue involves injection vulnerability that affects ironic-discoverd. Remediation is available by upgrading affected packages to version 0.2.5, 2.2.2.

CVE-2015-5306 at a Glance

CVE Identifier CVE-2015-5306
GHSA Identifier GHSA-x64g-wjmw-w328
Severity CRITICAL
CVSS v3.1 Base Score 8.1
CWE Classification General Security Weakness
Affected Product Python ironic inspector client
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.1/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-2015-5306

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

python-ironic-inspector-client fixed: 0.2.5
pip install python-ironic-inspector-client>=0.2.5
ironic-inspector fixed: 2.2.2
pip install ironic-inspector>=2.2.2
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 python-ironic-inspector-client

How to Check if You Are Affected

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

pip show python-ironic-inspector-client

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

Note: The pip show python-ironic-inspector-client command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Python ironic inspector client, 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

OpenStack Ironic Inspector (aka ironic-inspector or ironic-discoverd), when debug mode is enabled, might allow remote attackers to access the Flask console and execute arbitrary Python code by triggering an error.

CVE-2015-5306 Affected Python ironic inspector client Versions

2 component(s)
Fixed Versions:
0.2.52.2.2
Product / Package Ecosystem Affected Versions Fixed Version
python-ironic-inspector-client
PyPI
< 0.2.5
0.2.5
ironic-inspector
PyPI
< 2.2.2
2.2.2

References

Frequently Asked Questions

What is CVE-2015-5306?
CVE-2015-5306 is a security vulnerability in Python ironic inspector client involving Injection vulnerability that affects ironic-discoverd under General Security Weakness.
Which Python ironic inspector client versions are affected?
Affected versions include releases prior to 0.2.5, 2.2.2 across affected packages: python-ironic-inspector-client, ironic-inspector.
What version fixes CVE-2015-5306?
Upgrading to 0.2.5, 2.2.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is python-ironic-inspector-client affected?
Yes, python-ironic-inspector-client is affected in releases prior to 0.2.5. Upgrade your dependency to 0.2.5 or later.
Is ironic-inspector affected?
Yes, ironic-inspector is affected in releases prior to 2.2.2. Upgrade your dependency to 2.2.2 or later.
What is the CVSS score of CVE-2015-5306?
CVE-2015-5306 has a CVSS v3.1 base score of 8.1 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2015-5306?
CVE-2015-5306 is classified under General Security Weakness.
How can I check PyPI dependencies for CVE-2015-5306?
Run the dependency tree command: 'pip show python-ironic-inspector-client'. 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-x64g-wjmw-w328",
  "modified" : "2024-09-24T18:37:57Z",
  "published" : "2019-07-05T21:10:52Z",
  "aliases" : [ "CVE-2015-5306" ],
  "summary" : "Injection vulnerability that affects ironic-discoverd",
  "details" : "OpenStack Ironic Inspector (aka ironic-inspector or ironic-discoverd), when debug mode is enabled, might allow remote attackers to access the Flask console and execute arbitrary Python code by triggering an error.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/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" : "python-ironic-inspector-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.2.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "ironic-inspector"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.2.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-5306"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2015:1929"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2015:2685"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2015-5306"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/ironic-inspector/+bug/1506419"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1273698"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/ironic-inspector/PYSEC-2015-28.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://opendev.org/openstack/ironic-inspector"
  }, {
    "type" : "WEB",
    "url" : "https://opendev.org/openstack/ironic-inspector/commit/2c64da2bee6eeea27c08eb7a94894feaa5494910"
  }, {
    "type" : "WEB",
    "url" : "https://opendev.org/openstack/ironic-inspector/commit/77d0052c5133034490386fbfadfdb1bdb49aa44f"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2015-2685.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T22:02:22Z",
    "nvd_published_at" : "2015-11-25T20:59:00Z"
  }
}