In StackStorm versions prior to 3.6.0, the jinja interpreter was not run in sandbox mode and thus allows execution of unsafe system commands. Jinja does not enable sandboxed mode by default due to backwards compatibility. Stackstorm now sets sandboxed mode for jinja by default.
Link | Tags |
---|---|
https://github.com/StackStorm/st2/pull/5359 | third party advisory patch |
https://podalirius.net/en/articles/python-vulnerabilities-code-execution-in-jinja-templates/ | third party advisory exploit |
https://github.com/pallets/jinja/issues/549 | third party advisory issue tracking exploit |
https://stackstorm.com/2021/12/16/stackstorm-v3-6-0-released/ | release notes vendor advisory |