Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. ironic-inspector
  4. ›
  5. CVE-2019-10141

CVE-2019-10141: Openstack ironic-inspector has SQL injection vulnerability in node_cache

May 24, 2022 (updated September 27, 2024)

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.

References

  • access.redhat.com/errata/RHSA-2019:2505
  • bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10141
  • docs.openstack.org/releasenotes/ironic-inspector/ocata.html
  • docs.openstack.org/releasenotes/ironic-inspector/pike.html
  • docs.openstack.org/releasenotes/ironic-inspector/queens.html
  • docs.openstack.org/releasenotes/ironic-inspector/rocky.html
  • docs.openstack.org/releasenotes/ironic-inspector/stein.html
  • github.com/advisories/GHSA-c7fc-cm7p-92r2
  • github.com/openstack/ironic-inspector
  • github.com/openstack/ironic-inspector/commit/17c796b49171b6133e988f78c92d7c9b7ed3fcf3
  • github.com/openstack/ironic-inspector/commit/67ff87ebca1016d44bd9d284ec4c16a88a533cfc
  • github.com/openstack/ironic-inspector/commit/97f9d34f8376ac7accd2597b3bdce67a9dac664f
  • github.com/openstack/ironic-inspector/commit/9d107900b2e0b599397b84409580d46e0ed16291
  • github.com/pypa/advisory-database/tree/main/vulns/ironic-inspector/PYSEC-2019-152.yaml
  • nvd.nist.gov/vuln/detail/CVE-2019-10141
  • review.opendev.org/c/openstack/ironic-inspector/+/660234
  • storyboard.openstack.org/

Code Behaviors & Features

Detect and mitigate CVE-2019-10141 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.0.2, all versions starting from 5.1.0 before 6.0.3, all versions starting from 6.1.0 before 7.2.4, all versions starting from 8.0.0 before 8.0.3, all versions starting from 8.1.0 before 8.2.1

Fixed versions

  • 5.0.2
  • 6.0.3
  • 7.2.4
  • 8.0.3
  • 8.2.1

Solution

Upgrade to versions 5.0.2, 6.0.3, 7.2.4, 8.0.3, 8.2.1 or above.

Impact 9.1 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

pypi/ironic-inspector/CVE-2019-10141.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:44 +0000.