OpenStack Vitrage: Unauthorized Access to the Host can Lead to Eval Injection
OpenStack Vitrage
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| vitrage PyPI |
|
|
OpenStack Vitrage
| Product | Affected | Fixed in |
|---|---|---|
| vitrage PyPI |
|
|
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.
From the CVE record · mitre
The OpenStack Vitrage query parser is vulnerable to code execution. A user allowed to access the Vitrage API can execute code on the service host as the user running Vitrage, potentially gaining unauthorized host access. This affects deployments exposing the Vitrage API.
Operators running OpenStack Vitrage with PyPI vitrage versions >=15.0.0.0rc1 and <15.0.1, >=14.0.0.0rc1 and <14.0.1, >=13.0.0.0rc1 and <13.0.1, or <12.0.1 should check their deployments.