Advisory

GHSA-c7fc-cm7p-92r2

Also known as: CVE-2019-10141, PYSEC-2019-152

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 16:51 UTC
Modified
2024-09-27 16:01 UTC

Affected packages and fixes

ironic-inspector

PyPI · All systems

Affected

  • introduced 0, fixed 5.0.2 (ecosystem)

Fixed versions

5.0.2

Fix

  • Fixed version 5.0.2
    pip install --upgrade ironic-inspector==5.0.2

ironic-inspector

PyPI · All systems

Affected

  • introduced 5.1.0, fixed 6.0.3 (ecosystem)

Fixed versions

6.0.3

Fix

  • Fixed version 6.0.3
    pip install --upgrade ironic-inspector==6.0.3

ironic-inspector

PyPI · All systems

Affected

  • introduced 6.1.0, fixed 7.2.4 (ecosystem)

Fixed versions

7.2.4

Fix

  • Fixed version 7.2.4
    pip install --upgrade ironic-inspector==7.2.4

ironic-inspector

PyPI · All systems

Affected

  • introduced 8.0.0, fixed 8.0.3 (ecosystem)

Fixed versions

8.0.3

Fix

  • Fixed version 8.0.3
    pip install --upgrade ironic-inspector==8.0.3

ironic-inspector

PyPI · All systems

Affected

  • introduced 8.1.0, fixed 8.2.1 (ecosystem)

Fixed versions

8.2.1

Fix

  • Fixed version 8.2.1
    pip install --upgrade ironic-inspector==8.2.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences