CVE-2019-10141
Openstack ironic-inspector has SQL injection vulnerability in node_cache
Also known as GHSA-c7fc-cm7p-92r2, PYSEC-2019-152
Published 7 y ago · modified 4 mo ago · JSON
Summary
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.
Exploit prediction (EPSS)
2.53% probability of exploitation in the next 30 days, higher than 85% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| CNA | 3.0 | 8.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H |
| CNA | 3.0 | 8.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H |
| NVD | 3.0 | 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
| GitHub | 3.0 | 8.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pypi | ironic-inspector | <5.0.2 >=5.1.0, <6.0.3 >=6.1.0, <7.2.4 >=8.0.0, <8.0.3 >=8.1.0, <8.2.1 | 5.0.2 6.0.3 7.2.4 8.0.3 8.2.1 |
Affected products
- RedHat openstack-ironic-inspector
Classification
- Weakness
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
- docs.openstack.org /releasenotes/ironic-inspector/rocky.html#relnotes-8-0-3-stable-rocky · x_refsource_MISC, x_transferred
- docs.openstack.org /releasenotes/ironic-inspector/stein.html#relnotes-8-2-1-stable-stein · x_refsource_MISC, x_transferred
- bugzilla.redhat.com /show_bug.cgi?id=CVE-2019-10141 · x_refsource_CONFIRM, x_transferred
- docs.openstack.org /releasenotes/ironic-inspector/ocata.html#relnotes-5-0-2-7-origin-stable-ocata · x_refsource_MISC, x_transferred
- docs.openstack.org /releasenotes/ironic-inspector/pike.html#relnotes-6-0-3-4-stable-pike · x_refsource_MISC, x_transferred
- docs.openstack.org /releasenotes/ironic-inspector/queens.html#relnotes-7-2-4-stable-queens · x_refsource_MISC, x_transferred
- access.redhat.com /errata/RHSA-2019:2505 · vendor-advisory, x_refsource_REDHAT, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2019-10141 · advisory
- github.com /openstack/ironic-inspector/commit/17c796b49171b6133e988f78c92d7c9b7ed3fcf3 · web
- github.com /openstack/ironic-inspector/commit/67ff87ebca1016d44bd9d284ec4c16a88a533cfc · web
- github.com /openstack/ironic-inspector/commit/97f9d34f8376ac7accd2597b3bdce67a9dac664f · web
- github.com /openstack/ironic-inspector/commit/9d107900b2e0b599397b84409580d46e0ed16291 · web
- github.com /openstack/ironic-inspector · package
- github.com /pypa/advisory-database/tree/main/vulns/ironic-inspector/PYSEC-2019-152.yaml · web
- review.opendev.org /c/openstack/ironic-inspector/+/660234 · web
- storyboard.openstack.org /#!/story/2005678 · web
- github.com /advisories/GHSA-c7fc-cm7p-92r2 · advisory
Sources
- CVE List: CVE-2019-10141
- GitHub Advisory: GHSA-c7fc-cm7p-92r2
- NVD: CVE-2019-10141
- OSV: PYSEC-2019-152
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.