Files
vitrage/releasenotes/notes/grap_query_eval_fixup-9232ce40ad85993e.yaml
Dmitriy Rabotyagov 5b57e2b32a Replace eval with function matching
Using eval in code is not safe and may lead to security
risks, especially given that query itself is supplied by a user.

This refactors the code making is presumably safe
and prone to code injections, which are possible with eval.

Story: 2011539
Task: 52866
Change-Id: If629023052aa2c067c419bba10837f77bcc3e59c
Signed-off-by: Dmitriy Rabotyagov <dmitriy@adria-cloud.com>
2025-09-30 21:15:14 +02:00

6 lines
162 B
YAML

---
security:
- |
A security issue in the entity graph querying mechanism has been fixed.
This change hardens the query parser against malicious input.