{"id":"CVE-2015-5306","kind":"vulnerability","aliases":["CVE-2015-5306","GHSA-x64g-wjmw-w328"],"related":[],"title":"Injection vulnerability that affects ironic-discoverd","description":"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.","summary":"When debug mode is enabled, OpenStack Ironic Inspector (also called ironic-discoverd) exposes the Flask debug console. An remote attacker who triggers an error can use that console to execute arbitrary Python code.","severity":"critical","cvss":8.1,"epss":0.01598,"exploited":false,"exploited_at":null,"products":[{"name":"python-ironic-inspector-client","fixed":["0.2.5"],"affected":"< 0.2.5","ecosystem":"pypi"},{"name":"ironic-inspector","fixed":["2.2.2"],"affected":"< 2.2.2","ecosystem":"pypi"},{"name":"openstack ironic inspector","fixed":[],"affected":"","ecosystem":"vendor"}],"ecosystems":["pypi","vendor"],"tags":["ironic-inspector","openstack","package","python","self-hosted"],"not_affected_if":["debug-disabled","default-config"],"how_to_check":"- Check whether debug mode is on in the ironic-inspector configuration file (the `debug` option in the `[DEFAULT]` section; exact file location unknown from the sources)\n- Check the installed versions with `pip show ironic-inspector` and `pip show python-ironic-inspector-client`","fix":"- `ironic-inspector` to `2.2.2`\n- `python-ironic-inspector-client` to `0.2.5`","status":"open","published_at":"2015-11-25T20:59:06+00:00","first_seen_at":"2026-11-16T16:13:27+00:00","triaged_at":"2026-11-16T16:15:07+00:00","updated_at":"2026-11-16T16:38:06+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-11-16T16:15:07Z","model":"claude-haiku-5-5","output":{"fix":"- `ironic-inspector` to `2.2.2`\n- `python-ironic-inspector-client` to `0.2.5`","reach":"network","title":"OpenStack Ironic Inspector: debug mode lets attackers run arbitrary Python code","impact":"high","summary":"When debug mode is enabled, OpenStack Ironic Inspector (also called ironic-discoverd) exposes the Flask debug console. An remote attacker who triggers an error can use that console to execute arbitrary Python code.","audience":"businesses","category":"package","nicknames":[],"who_cares":["openstack","ironic-inspector","python","self-hosted"],"confidence":0.7,"fix_status":"available","needs_auth":"unknown","worst_case":"Remote attacker runs arbitrary Python code on the inspector host","analyst_note":"","how_to_check":"- Check whether debug mode is on in the ironic-inspector configuration file (the `debug` option in the `[DEFAULT]` section; exact file location unknown from the sources)\n- Check the installed versions with `pip show ironic-inspector` and `pip show python-ironic-inspector-client`","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["default-config","debug-disabled"],"who_is_affected":"Deployments of OpenStack Ironic Inspector that run with debug mode enabled are exposed to remote code execution through the Flask console. Installations with debug mode off are not reachable through this console. The sources do not say whether the client package is independently exploitable.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"unknown"},"cost_usd":0.000743,"input_tokens":4626,"output_tokens":561,"severity_before":"critical"},"analyst_status":null,"analyst_note":null,"search":"'-2015':9A,17A '-5306':10A,18A 'access':94C 'affect':4A 'aka':76C 'allow':90C 'also':47B 'arbitrari':70B,100C 'attack':59B,92C 'call':48B 'client':23A 'code':72B,102C 'consol':56B,67B,97C 'cve':8A,16A 'debug':40B,55B,85C 'discoverd':7A,51B,83C 'enabl':43B,88C 'error':63B,106C 'execut':69B,99C 'expos':52B 'flask':54B,96C 'ghsa':12A 'ghsa-x64g-wjmw-w328':11A 'host':38B 'inject':1A 'inspector':22A,26A,29A,32B,46B,75C,79C 'iron':6A,31B,45B,50B,74C,78C,82C 'ironic':21A,25A,28A 'ironic-discoverd':5A,49B,81C 'ironic-inspector':24A,30B,77C 'might':89C 'mode':41B,86C 'openstack':27A,33B,44B,73C 'packag':34B 'python':20A,35B,71B,101C 'python-ironic-inspector-client':19A 'remot':58B,91C 'self':37B 'self-host':36B 'trigger':61B,104C 'use':65B 'vulner':2A 'w328':15A 'wjmw':14A 'x64g':13A","nicknames":[],"mitigations":[],"who_affected":"Deployments of OpenStack Ironic Inspector that run with debug mode enabled are exposed to remote code execution through the Flask console. Installations with debug mode off are not reachable through this console. The sources do not say whether the client package is independently exploitable.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":["ironicinspector","openstackironicinspector","pythonironicinspectorclient"],"ptokens":["client","inspector","ironic","openstack","python"],"labels":["critical","ironicinspector","openstack","package","pypi","python","selfhosted","vendor"],"campaign_type":null,"search_a":"'-2015':9A,17A '-5306':10A,18A 'affect':4A 'client':23A 'cve':8A,16A 'discoverd':7A 'ghsa':12A 'ghsa-x64g-wjmw-w328':11A 'inject':1A 'inspector':22A,26A,29A 'iron':6A 'ironic':21A,25A,28A 'ironic-discoverd':5A 'ironic-inspector':24A 'openstack':27A 'python':20A 'python-ironic-inspector-client':19A 'vulner':2A 'w328':15A 'wjmw':14A 'x64g':13A","search_b":"'also':47B 'arbitrari':70B 'attack':59B 'call':48B 'code':72B 'consol':56B,67B 'debug':40B,55B 'discoverd':51B 'enabl':43B 'error':63B 'execut':69B 'expos':52B 'flask':54B 'host':38B 'inspector':32B,46B 'iron':31B,45B,50B 'ironic-discoverd':49B 'ironic-inspector':30B 'mode':41B 'openstack':33B,44B 'packag':34B 'python':35B,71B 'remot':58B 'self':37B 'self-host':36B 'trigger':61B 'use':65B","search_c":"'access':94C 'aka':76C 'allow':90C 'arbitrari':100C 'attack':92C 'code':102C 'consol':97C 'debug':85C 'discoverd':83C 'enabl':88C 'error':106C 'execut':99C 'flask':96C 'inspector':75C,79C 'iron':74C,78C,82C 'ironic-discoverd':81C 'ironic-inspector':77C 'might':89C 'mode':86C 'openstack':73C 'python':101C 'remot':91C 'trigger':104C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2015-11-25T20:59:06+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","cvss_by":"GitHub","poc_count":0,"sources":[{"source":"ghsa","external_id":"GHSA-x64g-wjmw-w328","url":"https://github.com/advisories/GHSA-x64g-wjmw-w328","severity":"critical","published_at":"2019-07-05T21:10:52+00:00","modified_at":"2026-11-16T16:10:03+00:00","first_seen_at":"2026-11-16T16:13:27+00:00","fetched_at":"2026-11-16T16:17:15+00:00","note":null},{"source":"nvd","external_id":"CVE-2015-5306","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-5306","severity":null,"published_at":"2015-11-25T20:59:06+00:00","modified_at":"2026-06-17T00:28:53+00:00","first_seen_at":"2026-11-16T16:38:06+00:00","fetched_at":"2026-11-16T16:38:06+00:00","note":null}],"documents":[{"id":171156,"url":"https://opendev.org/openstack/ironic-inspector/commit/77d0052c5133034490386fbfadfdb1bdb49aa44f","title":"Patch: opendev.org","kind":"other","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: opendev.org"},{"id":171157,"url":"https://opendev.org/openstack/ironic-inspector/commit/2c64da2bee6eeea27c08eb7a94894feaa5494910","title":"Patch: opendev.org","kind":"other","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: opendev.org"},{"id":171317,"url":"https://access.redhat.com/errata/RHSA-2015:1929","title":"Vendor advisory: access.redhat.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Vendor advisory: access.redhat.com"},{"id":171318,"url":"https://bugs.launchpad.net/ironic-inspector/+bug/1506419","title":"Vendor advisory: bugs.launchpad.net","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Vendor advisory: bugs.launchpad.net"},{"id":171319,"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1273698","title":"Vendor advisory: bugzilla.redhat.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Vendor advisory: bugzilla.redhat.com"}],"disclosures":[],"exploit_sources":[{"type":"epss","score":0.01598,"url":"https://api.first.org/data/v1/epss?cve=CVE-2015-5306"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}