Vulnerability Description
The create_script function in the lxc_container module in Ansible before 1.9.6-1 and 2.x before 2.0.2.0 allows local users to write to arbitrary files or gain privileges via a symlink attack on (1) /opt/.lxc-attach-script, (2) the archived container in the archive_path directory, or the (3) lxc-attach-script.log or (4) lxc-attach-script.err files in the temporary directory.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Fedoraproject | Fedora | 22 |
| Redhat | Ansible | <= 1.9.6 |
Related Weaknesses (CWE)
References
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.htmlThird Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.htmlVendor Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.htmlVendor Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.htmlVendor Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.htmlVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1322925Issue Tracking
- https://github.com/ansible/ansible-modules-extras/pull/1941Patch
- https://github.com/ansible/ansible-modules-extras/pull/1941/commits/8c6fe646ee79Patch
- https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-theThird Party Advisory
- https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hilPatch
- https://groups.google.com/forum/#%21topic/ansible-announce/E80HLZilTU0
- https://groups.google.com/forum/#%21topic/ansible-announce/tqiZbcWxYig
- https://security.gentoo.org/glsa/201607-14Third Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.htmlThird Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.htmlVendor Advisory
FAQ
What is CVE-2016-3096?
CVE-2016-3096 is a vulnerability with a CVSS score of 7.8 (HIGH). The create_script function in the lxc_container module in Ansible before 1.9.6-1 and 2.x before 2.0.2.0 allows local users to write to arbitrary files or gain privileges via a symlink attack on (1) /o...
How severe is CVE-2016-3096?
CVE-2016-3096 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2016-3096?
Check the references section above for vendor advisories and patch information. Affected products include: Fedoraproject Fedora, Redhat Ansible.