{"id":"UBUNTU-CVE-2016-3096","details":"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.","modified":"2025-07-16T06:46:59.423227Z","published":"2016-06-03T14:59:00Z","upstream":["CVE-2016-3096"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-3096"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1322925"},{"type":"REPORT","url":"https://sources.debian.net/src/ansible/2.0.1.0-1/lib/ansible/modules/extras/cloud/lxc/lxc_container.py/?hl=523#L523"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-3096"}],"affected":[{"package":{"name":"ansible","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ansible@2.0.0.2-2ubuntu1.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0.2-2ubuntu1.3"}]}],"versions":["1.9.2+dfsg-2","1.9.4-1","2.0.0.2-2","2.0.0.2-2ubuntu1","2.0.0.2-2ubuntu1.1","2.0.0.2-2ubuntu1.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"ansible","binary_version":"2.0.0.2-2ubuntu1.3"},{"binary_name":"ansible-fireball","binary_version":"2.0.0.2-2ubuntu1.3"},{"binary_name":"ansible-node-fireball","binary_version":"2.0.0.2-2ubuntu1.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-3096.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}