CVE-2016-3096
highpriority · track · 31EPSS 0.005 · 41 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (10)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-rh6x-qvg7-rrmjLink Following in ansible2018-10-10ghsa · osvUS
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.
- PYSEC-2016-12016-06-03vendor · osvUS
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.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (38)
External citations — patches, advisories, analysis.
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.htmlcnnvd
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.htmlcnnvd
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.htmlcnnvd
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.htmlcnnvd
- http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.htmlcnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=1322925cnnvd
- https://github.com/ansible/ansible-modules-extras/pull/1941/commits/8c6fe646ee79f5e55361b885b7efed5bec72d4a4cnnvd
- https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbdcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan