Bugzilla – Bug 973546
VUL-0: CVE-2016-3096: ansible: Code execution vulnerability in ansible lxc_container
Last modified: 2017-12-02 03:19:39 UTC
rh#1322925 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. Simple fix would be using "tempfile.mkdtemp()" instead of "/opt". Acknowledgments: Evgeni Golov (Red Hat) References: https://bugzilla.redhat.com/show_bug.cgi?id=1322925 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-3096
bugbot adjusting priority
IBS versions are > 2.1, only openSUSE might still be affected
openSUSE 42.2 & 42.3 as well as openSUSE:Backports have ansible 2.4.1, which is not affected. Closing here.