GitHub Advisoryadvisory · PyPI
GHSA-rh6x-qvg7-rrmj Link Following in ansible
HIGH
Official page ↗
- Aliases
- CVE-2016-3096
- Ecosystem
- PyPI
- Packages
- ansible
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-59
- Reviewed
- 2020-06-16
Affected packages
• PyPI ansible: >= 2.0.0.0, < 2.0.2.0 → fixed in 2.0.2.0
• PyPI ansible: < 1.9.6.1 → fixed in 1.9.6.1
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.
Related
Alias · CVE (1)
- CVE-2016-3096 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… vulnerability
Weakness · CWE (1)
- CWE-59 Improper Link Resolution Before File Access weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-3096 advisory
- https://github.com/ansible/ansible-modules-extras/pull/1941 web
- https://github.com/ansible/ansible-modules-extras/commit/7c3999a92a1cd856ff9bc8913a93ff1aee8bffc3 web
- https://bugzilla.redhat.com/show_bug.cgi?id=1322925 web
- https://github.com/advisories/GHSA-rh6x-qvg7-rrmj advisory
- https://github.com/ansible/ansible package
- https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbd web
- https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away web
- 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
- 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 web
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.html web
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html web
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html web
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html web
- http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html web