lava_rest_app: use sandbox jinja2 environment for user provided template
Fix remote code execution at /api/v0.2/devices/validate/ endpoint Jinja2 templates created from a user input are open to code injection. By switching to sandboxed jinja2 environment only a restricted set of function calls will be available when rendering a template.
Please register or sign in to comment