CVE-2015-5306: OpenStack Ironic Inspector Remote Code Execution

ironic-inspector Updated 02 Oct 2025

Summary

25/11/2015
Yes i
Unrated
Not published

CVE-2015-5306: 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. Affects ironic-inspector versions < 2.3.0. Fixed in 2.3.0. How to fix ↓

Also tracked for

The same CVE-2015-5306 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

OpenStack Ironic Inspector (aka ironic-inspector or ironic-discoverd) is a component of the OpenStack project that provides hardware introspection capabilities. It is used to discover and inspect bare metal nodes in an OpenStack environment. The package allows users to gather information about the hardware properties of these nodes, such as MAC addresses, IP addresses, and other relevant details. However, when debug mode is enabled, a vulnerability exists that could allow remote attackers to access the Flask console and execute arbitrary Python code by triggering an error.

Vulnerability Detail

The vulnerability (CVE-2015-5306) in OpenStack Ironic Inspector arises when debug mode is enabled. In this mode, an attacker can exploit an error to gain access to the Flask console, which provides a Python shell. By executing arbitrary Python code through this console, the attacker can potentially compromise the entire system. This vulnerability poses a significant risk to the confidentiality, integrity, and availability of the OpenStack environment.

How To Fix

Latest published version: 12.5.0 as of 23 Oct 2026

pip install --upgrade "ironic-inspector==12.5.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.3.0

This is the first release that contains the fix.

pip install --upgrade "ironic-inspector==2.3.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading to the latest version is not immediately feasible, a temporary workaround can be implemented by disabling the debug mode in the ironic-inspector configuration. By setting the 'debug' option to 'False' in the configuration file, the vulnerable functionality can be effectively disabled. However, this workaround should only be considered as a temporary measure, and upgrading to the latest version is strongly recommended.

Conclusion

The vulnerability in OpenStack Ironic Inspector (CVE-2015-5306) poses a significant risk to the security of OpenStack environments. It allows remote attackers to execute arbitrary Python code by accessing the Flask console. To mitigate this risk, it is crucial to upgrade to the latest version of the ironic-inspector package (2.3.0 or later) or apply the temporary workaround of disabling the debug mode. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for ironic-inspector →

Share this vulnerability

FAQ

OpenStack Ironic Inspector is a component of the OpenStack project that provides hardware introspection capabilities for bare metal nodes in an OpenStack environment. It allows users to gather information about the hardware properties of these nodes.

The vulnerability allows remote attackers to access the Flask console and execute arbitrary Python code. This can lead to a complete compromise of the OpenStack environment, potentially resulting in unauthorized access, data breaches, and disruption of services.

To fix this vulnerability, you should upgrade the ironic-inspector package to version 2.3.0 or later. This version includes the necessary patches to address the debug mode issue and prevent unauthorized access to the Flask console.

Yes, if upgrading to the latest version is not immediately feasible, you can disable the debug mode in the ironic-inspector configuration. By setting the 'debug' option to 'False' in the configuration file, the vulnerable functionality can be effectively disabled. However, upgrading to the latest version is strongly recommended.

You can find more information about this vulnerability, including the source and details, in the advisory database of the PyPA (Python Packaging Authority). The specific advisory for this vulnerability can be accessed at: https://github.com/pypa/advisory-database/blob/main/vulns/ironic-inspector/PYSEC-2015-28.yaml

Related vulnerabilities

Recent vulnerabilities recorded for ironic-inspector.

How To Fix

Latest published version: 12.5.0 as of 23 Oct 2026

pip install --upgrade "ironic-inspector==12.5.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.3.0

This is the first release that contains the fix.

pip install --upgrade "ironic-inspector==2.3.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback