CVE-2019-10141
RedHat openstack-ironic-inspector: Improper Neutralization of Special Elements used in an SQL Command
Check your servers for CVE-2019-10141
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2019-10141 affects openstack-ironic-inspector, with the command that installs the fix. The free plan covers one server and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality low, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 2.53%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 85.6% of all scored CVEs. Scores of 26 Nov 2026.
Weakness
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| openstack-ironic-inspector |
affected all 5.0.x up to, excluding 5.0.2 affected all 6.0.x up to, excluding 6.0.3 affected all 7.2.x up to, excluding 7.2.4 affected all 8.0.3 up to, excluding 8.0.3 affected 8.2.0
|
Is my server affected?
Find the installed version of openstack-ironic-inspector and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i openstack-ironic-inspector
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2019-10141 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2019-10141RHEL, Rocky, Alma, Fedora
rpm -q openstack-ironic-inspector
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2019-10141Alpine
apk list --installed | grep -i openstack-ironic-inspectorWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2019-10141
trivy image --scanners vuln IMAGE | grep CVE-2019-10141
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10141 bugzilla.redhat.com
- RHSA-2019:2505 access.redhat.com · vendor advisory
Other references
- 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 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
Source: the record CVE-2019-10141 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.