First published: Wed 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.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
OpenStack Ironic Inspector | ||
pip/ironic-inspector | >=0<2.2.2 | 2.2.2 |
pip/python-ironic-inspector-client | <0.2.5 | 0.2.5 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2015-5306 is considered a medium severity vulnerability due to the potential for arbitrary code execution.
To mitigate CVE-2015-5306, upgrade Ironic Inspector to version 2.2.2 or later.
CVE-2015-5306 affects OpenStack Ironic Inspector and the python-ironic-inspector-client versions below 0.2.5.
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.
CVE-2015-5306 is caused by enabling debug mode in ironic-discoverd, which inadvertently exposes the Flask console.