PYSEC-2019-152
Quick fix
PYSEC-2019-152 — ironic-inspector: upgrade to the fixed version with the command below.
pip install --upgrade 'ironic-inspector>=5.0.2'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
6.1.0Fixed in: 7.2.4pip install --upgrade 'ironic-inspector>=5.0.2'References
- https://docs.openstack.org/releasenotes/ironic-inspector/ocata.html#relnotes-5-0-2-7-origin-stable-ocata[WEB]
- https://docs.openstack.org/releasenotes/ironic-inspector/stein.html#relnotes-8-2-1-stable-stein[WEB]
- https://docs.openstack.org/releasenotes/ironic-inspector/queens.html#relnotes-7-2-4-stable-queens[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10141[REPORT]
- https://docs.openstack.org/releasenotes/ironic-inspector/rocky.html#relnotes-8-0-3-stable-rocky[WEB]
- https://docs.openstack.org/releasenotes/ironic-inspector/pike.html#relnotes-6-0-3-4-stable-pike[WEB]
- https://access.redhat.com/errata/RHSA-2019:2505[ADVISORY]
- https://github.com/advisories/GHSA-c7fc-cm7p-92r2[ADVISORY]