{"id":"CVE-2016-3096","published":"2016-06-03T14:00:00Z","modified":"2024-08-05T23:47:56Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00468,"percentile":0.41373,"provenance":"source"},"cwes":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1322925","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://github.com/ansible/ansible-modules-extras/pull/1941/commits/8c6fe646ee79f5e55361b885b7efed5bec72d4a4","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://groups.google.com/forum/#%21topic/ansible-announce/tqiZbcWxYig","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.gentoo.org/glsa/201607-14","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://groups.google.com/forum/#%21topic/ansible-announce/E80HLZilTU0","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://github.com/ansible/ansible-modules-extras/pull/1941","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbd","tags":["x_refsource_CONFIRM"]}],"priority":{"score":8.3,"factors":[{"name":"EPSS percentile","points":8.27}]},"affected":[{"ecosystem":"PyPI","package":"ansible","vulnerableRanges":[">=2.0.0.0, <2.0.2.0","<1.9.6.1","<2.0.2.0"],"patched":["2.0.2.0","1.9.6.1"],"from":["GHSA-rh6x-qvg7-rrmj","PYSEC-2016-1"],"provenance":"source"}],"summary":{"text":"The create_script function in the lxc_container module of Ansible (versions before 1.9.6-1 and 2.x before 2.0.2.0) contains a symlink-handling flaw affecting files such as /opt/.lxc-attach-script, the archived container in the archive_path directory, and the lxc-attach-script.log and lxc-attach-script.err files in the temporary directory. A local user can exploit it by planting symlinks at those paths to write to arbitrary files or gain privileges, with no network access, authentication, or user interaction required beyond local access to the system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:58Z"},"euvd":{"id":"EUVD-2016-0001","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2014-4967","published":"2020-02-18","fixed":"1.6.7","kev":false},{"cve":"CVE-2015-3908","published":"2015-08-12","fixed":"1.9.2","kev":false,"link":{"from":"CVE-2015-3908","to":"CVE-2016-3096","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ansible","fromFixed":"1.9.2","toFixed":"1.9.6.1","daysApart":296}]}},{"cve":"CVE-2015-6240","published":"2017-06-07","fixed":"1.9.2","kev":false},{"cve":"CVE-2016-3096","published":"2016-06-03","fixed":"2.0.2.0","kev":false},{"cve":"CVE-2016-8614","published":"2018-07-31","fixed":"2.2.0.0","kev":false},{"cve":"CVE-2016-8628","published":"2018-07-31","fixed":"2.2.0.0","kev":false},{"cve":"CVE-2016-8647","published":"2018-07-26","fixed":"2.2.1.0","kev":false},{"cve":"CVE-2016-9587","published":"2018-04-24","fixed":"2.2.1.0","kev":false,"link":{"from":"CVE-2016-3096","to":"CVE-2016-9587","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ansible","fromFixed":"2.0.2.0","toFixed":"2.1.4.0","daysApart":690}]}}],"package":"PyPI:ansible"}}