CVE-2015-5306: Injection vulnerability that affects ironic-discoverd

Published Oct 21, 2015
·
Updated

It was discovered that enabling debug mode in ironic-discoverd would also enable debug mode in flask, which would in turn enable the flask console on error. An attacker able to trigger an error and expose the flask console could use the console to run arbitary python code.

Other sources

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.

Affected Software

4 affected componentsFixes available
Openstack Ironic Inspector
pip/ironic-inspector>=0<2.2.2
2.2.2
pip/python-ironic-inspector-client<0.2.5
0.2.5
pip/ironic-inspector<2.2.2
2.2.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/ironic-inspector to a version that resolves this vulnerability.

    Fixed in 2.2.2
  2. Upgrade

    Upgrade pip/python-ironic-inspector-client to a version that resolves this vulnerability.

    Fixed in 0.2.5
  3. Configuration

    Disable debug mode to prevent the Flask console from being enabled on error.

    OpenStack Ironic Inspector (ironic-inspector / ironic-discoverd) debug mode = disabled

Event History

Oct 21, 2015
Data Sourced
05:04 AM
DescriptionSeverityAffected Software
Nov 25, 2015
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Data Sourced
08:59 PM
Weakness
Data Sourced
via NVD·08:59 PM
DescriptionSeverityWeaknessAffected Software
Jul 5, 2019
Advisory Published
via GitHub·09:10 PM
Data Sourced
via GitHub·09:10 PM
DescriptionSeverityAffected Software
Event
via OSV·09:10 PM
Feb 17, 2021
Data Sourced
via Red Hat·04:49 AM
DescriptionSeverityAffected Software
Sep 24, 2024
Advisory Published
via GitHub·06:37 PM
Jun 17, 2026
Updated
via NVD·12:28 AM
Affected Software
Nov 16, 2026
Updated
via GitHub·04:10 PM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2015-5306?

CVE-2015-5306 is considered a medium severity vulnerability due to the potential for arbitrary code execution.

2

How do I fix CVE-2015-5306?

To mitigate CVE-2015-5306, upgrade Ironic Inspector to version 2.2.2 or later.

3

What software is affected by CVE-2015-5306?

CVE-2015-5306 affects OpenStack Ironic Inspector and the python-ironic-inspector-client versions below 0.2.5.

4

What is the impact of CVE-2015-5306?

The impact of CVE-2015-5306 allows an attacker to execute arbitrary Python code if they can trigger an error while debug mode is enabled.

5

What causes CVE-2015-5306?

CVE-2015-5306 is caused by enabling debug mode in ironic-discoverd, which inadvertently exposes the Flask console.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203