{"id":"GHSA-c7fc-cm7p-92r2","summary":"Openstack ironic-inspector has SQL injection vulnerability in node_cache","details":"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.","aliases":["CVE-2019-10141","PYSEC-2019-152"],"modified":"2024-09-27T16:01:01.223023Z","published":"2022-05-24T16:51:42Z","database_specific":{"cwe_ids":["CWE-89"],"github_reviewed_at":"2024-04-29T09:48:45Z","github_reviewed":true,"nvd_published_at":"2019-07-30T17:15:00Z","severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10141"},{"type":"WEB","url":"https://github.com/openstack/ironic-inspector/commit/17c796b49171b6133e988f78c92d7c9b7ed3fcf3"},{"type":"WEB","url":"https://github.com/openstack/ironic-inspector/commit/67ff87ebca1016d44bd9d284ec4c16a88a533cfc"},{"type":"WEB","url":"https://github.com/openstack/ironic-inspector/commit/97f9d34f8376ac7accd2597b3bdce67a9dac664f"},{"type":"WEB","url":"https://github.com/openstack/ironic-inspector/commit/9d107900b2e0b599397b84409580d46e0ed16291"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:2505"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10141"},{"type":"WEB","url":"https://docs.openstack.org/releasenotes/ironic-inspector/ocata.html#relnotes-5-0-2-7-origin-stable-ocata"},{"type":"WEB","url":"https://docs.openstack.org/releasenotes/ironic-inspector/pike.html#relnotes-6-0-3-4-stable-pike"},{"type":"WEB","url":"https://docs.openstack.org/releasenotes/ironic-inspector/queens.html#relnotes-7-2-4-stable-queens"},{"type":"WEB","url":"https://docs.openstack.org/releasenotes/ironic-inspector/rocky.html#relnotes-8-0-3-stable-rocky"},{"type":"WEB","url":"https://docs.openstack.org/releasenotes/ironic-inspector/stein.html#relnotes-8-2-1-stable-stein"},{"type":"PACKAGE","url":"https://github.com/openstack/ironic-inspector"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ironic-inspector/PYSEC-2019-152.yaml"},{"type":"WEB","url":"https://review.opendev.org/c/openstack/ironic-inspector/+/660234"},{"type":"WEB","url":"https://storyboard.openstack.org/#!/story/2005678"}],"affected":[{"package":{"name":"ironic-inspector","ecosystem":"PyPI","purl":"pkg:pypi/ironic-inspector"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.2"}]}],"versions":["2.0.0","2.0.1","2.1.0","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7","2.3.0","3.0.0","3.1.0","3.2.0","3.2.1","3.2.2","3.3.0","4.0.0","4.1.0","4.2.0","4.2.1","4.2.2","5.0.0","5.0.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c7fc-cm7p-92r2/GHSA-c7fc-cm7p-92r2.json"}},{"package":{"name":"ironic-inspector","ecosystem":"PyPI","purl":"pkg:pypi/ironic-inspector"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1.0"},{"fixed":"6.0.3"}]}],"versions":["5.1.0","6.0.0","6.0.1","6.0.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c7fc-cm7p-92r2/GHSA-c7fc-cm7p-92r2.json"}},{"package":{"name":"ironic-inspector","ecosystem":"PyPI","purl":"pkg:pypi/ironic-inspector"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"7.2.4"}]}],"versions":["6.1.0","7.0.0","7.1.0","7.2.0","7.2.1","7.2.2","7.2.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c7fc-cm7p-92r2/GHSA-c7fc-cm7p-92r2.json"}},{"package":{"name":"ironic-inspector","ecosystem":"PyPI","purl":"pkg:pypi/ironic-inspector"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0.0"},{"fixed":"8.0.3"}]}],"versions":["8.0.0","8.0.1","8.0.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c7fc-cm7p-92r2/GHSA-c7fc-cm7p-92r2.json"}},{"package":{"name":"ironic-inspector","ecosystem":"PyPI","purl":"pkg:pypi/ironic-inspector"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.1.0"},{"fixed":"8.2.1"}]}],"versions":["8.1.0","8.2.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c7fc-cm7p-92r2/GHSA-c7fc-cm7p-92r2.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N"}]}