ADVISORIES

GitHub Advisory Database

GHSA-c7fc-cm7p-92r2

Openstack ironic-inspector has SQL injection vulnerability in node_cache

Details

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.

Affected packages

EcosystemPackageAffected versions
PyPIironic-inspector
All versions before 5.0.2 (fixed in 5.0.2)
PyPIironic-inspector
From 5.1.0 before 6.0.3 (fixed in 6.0.3)
PyPIironic-inspector
From 6.1.0 before 7.2.4 (fixed in 7.2.4)
PyPIironic-inspector
From 8.0.0 before 8.0.3 (fixed in 8.0.3)
PyPIironic-inspector
From 8.1.0 before 8.2.1 (fixed in 8.2.1)

References