{"answers":{"affected":"11 open source packages ship an affected version, including ironic-inspector. It affects 2 products.","exploited":"There is no known exploitation of CVE-2019-10141 in the wild and no public exploit code.","fix":"Upgrade ironic-inspector to a fixed version for your release line: 5.0.2, 6.0.3, 7.2.4 or 8.2.1.","what":"CVE-2019-10141 is a high-severity SQL injection vulnerability in Redhat Openstack, published on 30 Jul 2019. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-10141 and fix it if it is affected.\n\nWhat it is: CVE-2019-10141 is a high-severity SQL injection vulnerability in Redhat Openstack, published on 30 Jul 2019. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2019-10141 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ironic-inspector (PyPI): affected all versions; fixed in 5.0.2\n- ironic-inspector (PyPI): affected all versions; fixed in 5.0.2\n- ironic-inspector (PyPI): affected from 5.1.0; fixed in 6.0.3\n- ironic-inspector (PyPI): affected from 5.1.0; fixed in 6.0.3\n- ironic-inspector (PyPI): affected from 6.1.0; fixed in 7.2.4, 8.2.1, 5.0.2, 6.0.3, 8.0.3\n- ironic-inspector (PyPI): affected from 6.1.0; fixed in 7.2.4\n- ironic-inspector (PyPI): affected from 6.1.0; fixed in 7.2.4\n- ironic-inspector (PyPI): affected from 8.0.0; fixed in 8.0.3\n- ironic-inspector (PyPI): affected from 8.0.0; fixed in 8.0.3\n- ironic-inspector (PyPI): affected from 8.1.0; fixed in 8.2.1\n- ironic-inspector (PyPI): affected from 8.1.0; fixed in 8.2.1\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-2019-10141/ (Markdown: https://insights.sbomify.com/CVE-2019-10141/index.md)","id":"CVE-2019-10141","markdown":"https://insights.sbomify.com/CVE-2019-10141/index.md","name":"CVE-2019-10141","record":{"aliases":["DEBIAN-CVE-2019-10141","GHSA-c7fc-cm7p-92r2","PYSEC-2019-152","RHSA-2019:1669","RHSA-2019:1722","RHSA-2019:1734","RHSA-2019:2505","UBUNTU-CVE-2019-10141"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenStack Ironic Inspector","requires_auth":"low_privilege","summary":"An unauthenticated attacker can cause denial of service in OpenStack Ironic Inspector via SQL injection in the node cache lookup function.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"ironic-inspector","vendor":"openstack"},{"product":"openstack","vendor":"redhat"}],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"A vulnerability was found in openstack-ironic-inspector all versions excluding 5.0.2, 6.0.3, 7.2.4, 8.0.3 and 8.2.1. A SQL-injection vulnerability was found in openstack-ironic-inspector's node_cache.find_node(). This function makes a SQL query using unfiltered data from a server reporting inspection results (by a POST to the /v1/continue endpoint). Because the API is unauthenticated, the flaw could be exploited by an attacker with access to the network on which ironic-inspector is listening. Because of how ironic-inspector uses the query results, it is unlikely that data could be obtained. However, the attacker could pass malicious data and create a denial of service.","ecosystems":["PyPI","Red Hat:openstack-director:9::el7","Red Hat:openstack:10::el7","Red Hat:openstack:13::el7","Red Hat:openstack:14::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":"Openstack ironic-inspector has SQL injection vulnerability in node_cache","id":"CVE-2019-10141","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"redhat:openstack","products":["redhat:openstack"],"type":"sql_injection","year":"2019"},"n_packages":16,"n_references":7,"next":{"headline":"Integer overflow in kernel","id":"CVE-2019-10142"},"packages":[{"ecosystem":"PyPI","fixed":["5.0.2"],"introduced":["0"],"last_affected":[],"package":"ironic-inspector","purl":null,"source":"GHSA-c7fc-cm7p-92r2"},{"ecosystem":"PyPI","fixed":["5.0.2"],"introduced":["0"],"last_affected":[],"package":"ironic-inspector","purl":"pkg:pypi/ironic-inspector","source":"GHSA-c7fc-cm7p-92r2"},{"ecosystem":"PyPI","fixed":["6.0.3"],"introduced":["5.1.0"],"last_affected":[],"package":"ironic-inspector","purl":null,"source":"GHSA-c7fc-cm7p-92r2"},{"ecosystem":"PyPI","fixed":["6.0.3"],"introduced":["5.1.0"],"last_affected":[],"package":"ironic-inspector","purl":"pkg:pypi/ironic-inspector","source":"GHSA-c7fc-cm7p-92r2"},{"ecosystem":"PyPI","fixed":["7.2.4","8.2.1","5.0.2","6.0.3","8.0.3"],"introduced":["6.1.0","8.1.0","0","5.1.0","8.0.0"],"last_affected":[],"package":"ironic-inspector","purl":"pkg:pypi/ironic-inspector","source":"PYSEC-2019-152"},{"ecosystem":"PyPI","fixed":["7.2.4"],"introduced":["6.1.0"],"last_affected":[],"package":"ironic-inspector","purl":null,"source":"GHSA-c7fc-cm7p-92r2"},{"ecosystem":"PyPI","fixed":["7.2.4"],"introduced":["6.1.0"],"last_affected":[],"package":"ironic-inspector","purl":"pkg:pypi/ironic-inspector","source":"GHSA-c7fc-cm7p-92r2"},{"ecosystem":"PyPI","fixed":["8.0.3"],"introduced":["8.0.0"],"last_affected":[],"package":"ironic-inspector","purl":null,"source":"GHSA-c7fc-cm7p-92r2"},{"ecosystem":"PyPI","fixed":["8.0.3"],"introduced":["8.0.0"],"last_affected":[],"package":"ironic-inspector","purl":"pkg:pypi/ironic-inspector","source":"GHSA-c7fc-cm7p-92r2"},{"ecosystem":"PyPI","fixed":["8.2.1"],"introduced":["8.1.0"],"last_affected":[],"package":"ironic-inspector","purl":null,"source":"GHSA-c7fc-cm7p-92r2"},{"ecosystem":"PyPI","fixed":["8.2.1"],"introduced":["8.1.0"],"last_affected":[],"package":"ironic-inspector","purl":"pkg:pypi/ironic-inspector","source":"GHSA-c7fc-cm7p-92r2"},{"ecosystem":"Red Hat:openstack-director:9::el7","fixed":["0:3.2.2-5.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-ironic-inspector","purl":"pkg:rpm/redhat/openstack-ironic-inspector","source":"RHSA-2019:2505"},{"ecosystem":"Red Hat:openstack-director:9::el7","fixed":["0:3.2.2-5.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-ironic-inspector-doc","purl":"pkg:rpm/redhat/openstack-ironic-inspector-doc","source":"RHSA-2019:2505"},{"ecosystem":"Red Hat:openstack:10::el7","fixed":["0:4.2.2-6.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-ironic-inspector","purl":"pkg:rpm/redhat/openstack-ironic-inspector","source":"RHSA-2019:1722"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:7.2.3-3.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-ironic-inspector","purl":"pkg:rpm/redhat/openstack-ironic-inspector","source":"RHSA-2019:1734"},{"ecosystem":"Red Hat:openstack:14::el7","fixed":["0:8.0.3-0.20190420013817.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-ironic-inspector","purl":"pkg:rpm/redhat/openstack-ironic-inspector","source":"RHSA-2019:1669"}],"prev":{"headline":"Null dereference in kernel:","id":"CVE-2019-10140"},"products":["openstack-ironic-inspector"],"published":"2019-07-30","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-04","vendors":["RedHat"]},"summary":"An unauthenticated attacker can cause denial of service in OpenStack Ironic Inspector via SQL injection in the node cache lookup function.","url":"https://insights.sbomify.com/CVE-2019-10141/"}