{"answers":{"affected":"6 open source packages ship an affected version, including ironic-inspector and python-ironic-inspector-client. It affects 1 product.","exploited":"There is no known exploitation of CVE-2015-5306 in the wild and no public exploit code.","fix":"Upgrade ironic-inspector to a fixed version for your release line: 2.2.2 or 2.3.0.","what":"CVE-2015-5306 is a medium-severity code injection vulnerability in n/a, published on 25 Nov 2015. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2015-5306 and fix it if it is affected.\n\nWhat it is: CVE-2015-5306 is a medium-severity code injection vulnerability in n/a, published on 25 Nov 2015. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2015-5306 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ironic-inspector (PyPI): affected all versions; fixed in 2.2.2\n- ironic-inspector (PyPI): affected all versions; fixed in 2.2.2\n- ironic-inspector (PyPI): affected all versions; fixed in 2.3.0\n- python-ironic-inspector-client (PyPI): affected all versions; fixed in 0.2.5\n- python-ironic-inspector-client (PyPI): affected all versions; fixed in 0.2.5\n- python-ironic-inspector-client (PyPI): affected all versions; fixed in 0.2.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2015-5306/ (Markdown: https://insights.sbomify.com/CVE-2015-5306/index.md)","id":"CVE-2015-5306","markdown":"https://insights.sbomify.com/CVE-2015-5306/index.md","name":"CVE-2015-5306","record":{"aliases":["DEBIAN-CVE-2015-5306","GHSA-x64g-wjmw-w328","PYSEC-2015-28","PYSEC-2026-505","RHSA-2015:1929","RHSA-2015:2685"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"OpenStack Ironic Inspector","requires_auth":"none","summary":"Remote attackers can execute arbitrary Python code via the Flask console if debug mode is enabled in OpenStack Ironic Inspector.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"ironic_inspector","vendor":"openstack"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-254","name":null}],"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.","ecosystems":["PyPI","Red Hat:openstack-director:7::el7","Red Hat:openstack:6::el7"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Injection vulnerability that affects ironic-discoverd","id":"CVE-2015-5306","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"code_injection","year":"2015"},"n_packages":10,"n_references":4,"next":{"headline":"Denial of service in n/a","id":"CVE-2015-5307"},"packages":[{"ecosystem":"PyPI","fixed":["2.2.2"],"introduced":["0"],"last_affected":[],"package":"ironic-inspector","purl":null,"source":"GHSA-x64g-wjmw-w328"},{"ecosystem":"PyPI","fixed":["2.2.2"],"introduced":["0"],"last_affected":[],"package":"ironic-inspector","purl":"pkg:pypi/ironic-inspector","source":"GHSA-x64g-wjmw-w328"},{"ecosystem":"PyPI","fixed":["2.3.0"],"introduced":["0"],"last_affected":[],"package":"ironic-inspector","purl":"pkg:pypi/ironic-inspector","source":"PYSEC-2015-28"},{"ecosystem":"PyPI","fixed":["0.2.5"],"introduced":["0"],"last_affected":[],"package":"python-ironic-inspector-client","purl":null,"source":"GHSA-x64g-wjmw-w328"},{"ecosystem":"PyPI","fixed":["0.2.5"],"introduced":["0"],"last_affected":[],"package":"python-ironic-inspector-client","purl":"pkg:pypi/python-ironic-inspector-client","source":"GHSA-x64g-wjmw-w328"},{"ecosystem":"PyPI","fixed":["0.2.5"],"introduced":["0"],"last_affected":[],"package":"python-ironic-inspector-client","purl":"pkg:pypi/python-ironic-inspector-client","source":"PYSEC-2026-505"},{"ecosystem":"Red Hat:openstack-director:7::el7","fixed":["0:1.1.0-8.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-ironic-discoverd","purl":"pkg:rpm/redhat/openstack-ironic-discoverd","source":"RHSA-2015:1929"},{"ecosystem":"Red Hat:openstack-director:7::el7","fixed":["0:1.1.0-8.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-ironic-discoverd-ramdisk","purl":"pkg:rpm/redhat/openstack-ironic-discoverd-ramdisk","source":"RHSA-2015:1929"},{"ecosystem":"Red Hat:openstack-director:7::el7","fixed":["0:1.1.0-8.el7ost"],"introduced":["0"],"last_affected":[],"package":"python-ironic-discoverd","purl":"pkg:rpm/redhat/python-ironic-discoverd","source":"RHSA-2015:1929"},{"ecosystem":"Red Hat:openstack:6::el7","fixed":["0:0.2.5-2.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-ironic-discoverd","purl":"pkg:rpm/redhat/openstack-ironic-discoverd","source":"RHSA-2015:2685"}],"prev":{"headline":"Directory Traversal in Kubernetes","id":"CVE-2015-5305"},"products":["n/a"],"published":"2015-11-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary Python code via the Flask console if debug mode is enabled in OpenStack Ironic Inspector.","url":"https://insights.sbomify.com/CVE-2015-5306/"}