CVE-2016-3096
HIGH 7.8CVSS 3.0Link Following in ansible
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.
- Published
- 3 Jun 2016
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-59
- Also known as
- GHSA-rh6x-qvg7-rrmjPYSEC-2016-1
- Sources
- NVDJSONOSV GHSA-rh6x-qvg7-rrmjJSONOSV PYSEC-2016-1JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:* |
= 22 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:* |
= 23 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:* |
= 24 | |
| NVD | redhat | ansiblecpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* |
<= 1.9.6 | |
| NVD | redhat | ansiblecpe:2.3:a:redhat:ansible:2.0:*:*:*:*:*:*:* |
= 2.0 | |
| NVD | redhat | ansiblecpe:2.3:a:redhat:ansible:2.0.1:*:*:*:*:*:*:* |
= 2.0.1 | |
| OSV | PyPI | ansible | >= 2.0.0.0, < 2.0.2.0 | 2.0.2.0 |
| OSV | PyPI | ansible | < 1.9.6.1 | 1.9.6.1 |
| OSV | PyPI | ansible | < 2.0.2.0 | 2.0.2.0 |
References
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.html · Third Party Advisory, WEB
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html · Vendor Advisory, WEB
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html · Vendor Advisory, WEB
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html · Vendor Advisory, WEB
- http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html · Vendor Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=1322925 · Issue Tracking, WEB, REPORT
- https://github.com/ansible/ansible-modules-extras/pull/1941 · Patch, WEB
- https://github.com/ansible/ansible-modules-extras/pull/1941/commits/8c6fe646ee79f5e55361b885b7efed5bec72d4a4 · Patch, WEB
- https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbd · Third Party Advisory, WEB
- https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away · Patch, WEB
- https://groups.google.com/forum/#%21topic/ansible-announce/E80HLZilTU0 · WEB
- https://groups.google.com/forum/#%21topic/ansible-announce/tqiZbcWxYig · WEB
- https://security.gentoo.org/glsa/201607-14 · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2016-3096 · ADVISORY
- https://github.com/ansible/ansible-modules-extras/commit/7c3999a92a1cd856ff9bc8913a93ff1aee8bffc3 · WEB
- https://github.com/advisories/GHSA-rh6x-qvg7-rrmj · ADVISORY
- https://github.com/ansible/ansible · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2016-1.yaml · WEB
- https://groups.google.com/forum/#!topic/ansible-announce/E80HLZilTU0 · WEB
- https://groups.google.com/forum/#!topic/ansible-announce/tqiZbcWxYig · WEB
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 3 Jun 2016)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Jun 2016)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Oct 2018)