Remote Code Execution Vulnerability in OpenStack Ironic Inspector

ironic-inspector Updated 02 Oct 2025

Summary

25/11/2015
N/A
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 < 3.2.0-1. Fixed in 3.2.0-1. How to fix ↓

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

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

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, also known as ironic-inspector or ironic-discoverd, is a service that facilitates the discovery of hardware properties in a cloud environment. It plays a crucial role in the OpenStack ecosystem by enabling the management of bare metal servers. The service is designed to provide automated hardware inspection and provisioning, making it easier for users to deploy and manage physical machines in a cloud setting. However, when debug mode is enabled, it becomes susceptible to a significant security vulnerability that can be exploited by remote attackers.

Vulnerability Detail

The vulnerability identified as CVE-2015-5306 arises when the debug mode of OpenStack Ironic Inspector is enabled. This configuration flaw allows remote attackers to access the Flask console, which can lead to the execution of arbitrary Python code. The potential ramifications of this vulnerability are severe, as it could allow an attacker to manipulate the system, access sensitive data, or disrupt services. The vulnerability was introduced in all versions prior to 3.2.0-1, and it is critical for users to ensure they are running a patched version to mitigate the risk.

How To Fix

Minimum fixed version

3.2.0-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ironic-inspector

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

Workaround

As a temporary workaround, users can disable debug mode in the configuration file of OpenStack Ironic Inspector. Locate the configuration file (usually found at /etc/ironic-inspector/ironic-inspector.conf) and set the debug option to false: [DEFAULT] debug = false. This will help mitigate the risk until the software can be updated to a secure version.

Conclusion

CVE-2015-5306 presents a serious security risk for users of OpenStack Ironic Inspector when debug mode is enabled. It is crucial for users to upgrade to version 3.2.0-1 or later to protect against potential remote code execution attacks. Additionally, disabling debug mode can serve as a temporary measure to mitigate risks until an upgrade can be performed.

See every vulnerability recorded for ironic-inspector →

Share this vulnerability

FAQ

CVE-2015-5306 is a vulnerability in OpenStack Ironic Inspector that allows remote attackers to execute arbitrary Python code due to the Flask console being accessible when debug mode is enabled.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. By uploading your manifest file like package-lock.json, Vulert can help identify if your application is affected by CVE-2015-5306.

Leaving debug mode enabled can expose sensitive information and allow attackers to execute arbitrary code, potentially leading to data breaches or service disruptions.

Yes, you can disable debug mode in the configuration file as a temporary workaround until you can upgrade to a secure version.

More information can be found in the official OpenStack security advisories and the CVE database.

Related vulnerabilities

Recent vulnerabilities recorded for ironic-inspector.

How To Fix

Minimum fixed version

3.2.0-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ironic-inspector

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