SQL Injection Affecting ironic-inspector package, versions [,8.2.1)


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    Exploit Maturity Mature
    EPSS 0.48% (76th percentile)
Expand this section
NVD
9.1 critical
Expand this section
Red Hat
8.3 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PYTHON-IRONICINSPECTOR-174759
  • published 21 May 2019
  • disclosed 15 May 2019
  • credit Zane Bitter

How to fix?

Upgrade ironic-inspector to version 8.2.1 or higher.

Overview

ironic-inspector is a hardware introspection daemon for OpenStack Ironic.

Affected versions of this package are vulnerable to SQL Injection. The node_cache.find_node() function generates a SQL query using unfiltered data from a server's reporting inspection results. Due to the API being unauthenticated, the flaw could be exploited by an attacker with access to the network on which ironic-inspector is listening.

Because of how the results of the query are used, it is not possible to exploit this vulnerability to exfiltrate data. However, it could be exploited to conduct Denial of Service (DoS) attacks by passing malicious data such as \'; DROP DATABASE;\