ADVISORIES

GitHub Advisory Database

GHSA-8xwf-cr4r-856r

OpenStack Vitrage: Unauthorized Access to the Host can Lead to Eval Injection

Details

In the query parser in OpenStack Vitrage before 12.0.1, 13.0.0, 14.0.0, and 15.0.0, a user allowed to access the Vitrage API may trigger code execution on the Vitrage service host as the user the Vitrage service runs under. This may result in unauthorized access to the host and further compromise of the Vitrage service. All deployments exposing the Vitrage API are affected. This occurs in _create_query_function in vitrage/graph/query.py.

Affected packages

EcosystemPackageAffected versions
PyPIvitrage
From 15.0.0.0rc1 before 15.0.1 (fixed in 15.0.1)
PyPIvitrage
From 14.0.0.0rc1 before 14.0.1 (fixed in 14.0.1)
PyPIvitrage
From 13.0.0.0rc1 before 13.0.1 (fixed in 13.0.1)
PyPIvitrage
All versions before 12.0.1 (fixed in 12.0.1)

References