First published: Thu May 12 2016(Updated: )
It was reported that user module in ansible before 1.6.6 is vulnerable to command execution. Ansible can get the result of remote command in variable, which may come from untrusted source of input. The content of variable isn't properly filtered and when attempting to use the variable, it will trigger a function that passes it through jinja 2 template engine that can result into arbitrary command execution. Under certain circumstances, unprivileged user on system that is being managed via ansible can execute code on the managing host under UID of running ansible process. Upstream patch: <a href="https://github.com/ansible/ansible/commit/8ed6350e65c82292a631f08845dfaacffe7f07f5">https://github.com/ansible/ansible/commit/8ed6350e65c82292a631f08845dfaacffe7f07f5</a>
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
pip/ansible | <1.6.6 | 1.6.6 |
Redhat Ansible | <=1.6.5 | |
redhat/ansible | <1.6.6 | 1.6.6 |
<=1.6.5 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.