First published: Thu Mar 31 2016(Updated: )
A vulnerability in lxc_container, ansible module, was found allowing to get root inside the container. The problem is in the create_script function, which tries to write to /opt/.lxc-attach-script inside of the container. If the attacker can write to /opt/.lxc-attach-script before that, he can overwrite arbitrary files or execute commands as root.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Fedoraproject Fedora | =22 | |
Fedoraproject Fedora | =23 | |
Fedoraproject Fedora | =24 | |
Redhat Ansible | <=1.9.6 | |
Redhat Ansible | =2.0 | |
Redhat Ansible | =2.0.1 | |
pip/ansible | >=2.0.0.0<=2.0.1.0 | 2.0.2.0 |
pip/ansible | <=1.9.6.0 | 1.9.6.1 |
https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.