CVE-2019-10141
openstack-ironic-inspector: SQL Injection vulnerability when receiving introspection data
Overview
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.
Source: OX vulnerability database
Severity
9.1 · CRITICAL
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness: CWE-89
Affected packages · 1
| Ecosystem | Package | Vulnerable | 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.26.0.37.2.48.0.38.2.1 |
Open a package to see all its vulnerabilities.
Operating systems · 10 fixes
Red Hat 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | openstack-ironic-inspector +1 | 0:3.2.2-5.el7ost | RHSA-2019:2505 |
| 7 | openstack-ironic-inspector | 0:4.2.2-6.el7ost | RHSA-2019:1722 |
| 7 | openstack-ironic-inspector | 0:7.2.3-3.el7ost | RHSA-2019:1734 |
| 7 | openstack-ironic-inspector | 0:8.0.3-0.20190420013817.el7ost | RHSA-2019:1669 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | ironic-inspector | 8.0.0-3 |
| 12 | ironic-inspector | 8.0.0-3 |
| 13 | ironic-inspector | 8.0.0-3 |
| 9 | ironic-inspector | affected |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| ironic-inspector | 8.0.0-3 |
ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | ironic-inspector | affected |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2019:2505
- access.redhat.com https://access.redhat.com/security/cve/CVE-2019-10141
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1711722
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10141
- docs.openstack.org https://docs.openstack.org/releasenotes/ironic-inspector/ocata.html#relnotes-5-0-2-7-origin-stable-ocata
- docs.openstack.org https://docs.openstack.org/releasenotes/ironic-inspector/pike.html#relnotes-6-0-3-4-stable-pike
- docs.openstack.org https://docs.openstack.org/releasenotes/ironic-inspector/queens.html#relnotes-7-2-4-stable-queens
- docs.openstack.org https://docs.openstack.org/releasenotes/ironic-inspector/rocky.html#relnotes-8-0-3-stable-rocky
- docs.openstack.org https://docs.openstack.org/releasenotes/ironic-inspector/stein.html#relnotes-8-2-1-stable-stein
- github.com https://github.com/openstack/ironic-inspector
Show all 20 references
- github.com https://github.com/openstack/ironic-inspector/commit/17c796b49171b6133e988f78c92d7c9b7ed3fcf3
- github.com https://github.com/openstack/ironic-inspector/commit/67ff87ebca1016d44bd9d284ec4c16a88a533cfc
- github.com https://github.com/openstack/ironic-inspector/commit/97f9d34f8376ac7accd2597b3bdce67a9dac664f
- github.com https://github.com/openstack/ironic-inspector/commit/9d107900b2e0b599397b84409580d46e0ed16291
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/ironic-inspector/PYSEC-2019-152.yaml
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2019-10141
- review.opendev.org https://review.opendev.org/#/c/660234/
- review.opendev.org https://review.opendev.org/c/openstack/ironic-inspector/+/660234
- storyboard.openstack.org https://storyboard.openstack.org/#!/story/2005678
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2019-10141
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.