{"schema_version":"1.7.3","id":"GHSA-rh6x-qvg7-rrmj","published":"2018-10-10T17:23:45Z","modified":"2024-09-04T19:10:53.885962Z","aliases":["CVE-2016-3096","PYSEC-2016-1"],"summary":"Link Following in ansible","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.","affected":[{"package":{"name":"ansible","ecosystem":"PyPI","purl":"pkg:pypi/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0.0"},{"fixed":"2.0.2.0"}]}],"versions":["2.0.0","2.0.0.0","2.0.0.1","2.0.0.2","2.0.1.0"],"database_specific":{"last_known_affected_version_range":"<= 2.0.1.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-rh6x-qvg7-rrmj/GHSA-rh6x-qvg7-rrmj.json"}},{"package":{"name":"ansible","ecosystem":"PyPI","purl":"pkg:pypi/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.6.1"}]}],"versions":["1.0","1.1","1.2","1.2.1","1.2.2","1.2.3","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.4","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.5","1.5.1","1.5.2","1.5.3","1.5.4","1.5.5","1.6","1.6.1","1.6.10","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.6.8","1.6.9","1.7","1.7.1","1.7.2","1.8","1.8.1","1.8.2","1.8.3","1.8.4","1.9.0","1.9.0.1","1.9.1","1.9.2","1.9.3","1.9.4","1.9.5","1.9.6"],"database_specific":{"last_known_affected_version_range":"<= 1.9.6.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-rh6x-qvg7-rrmj/GHSA-rh6x-qvg7-rrmj.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3096"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-extras/pull/1941"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-extras/commit/7c3999a92a1cd856ff9bc8913a93ff1aee8bffc3"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1322925"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-rh6x-qvg7-rrmj"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbd"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2016-1.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/#!topic/ansible-announce/E80HLZilTU0"},{"type":"WEB","url":"https://groups.google.com/forum/#!topic/ansible-announce/tqiZbcWxYig"},{"type":"WEB","url":"https://groups.google.com/forum/#%21topic/ansible-announce/E80HLZilTU0"},{"type":"WEB","url":"https://groups.google.com/forum/#%21topic/ansible-announce/tqiZbcWxYig"},{"type":"WEB","url":"https://security.gentoo.org/glsa/201607-14"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html"}],"database_specific":{"cwe_ids":["CWE-59"],"github_reviewed":true,"github_reviewed_at":"2020-06-16T21:54:53Z","nvd_published_at":"2016-06-03T14:59:00Z","severity":"HIGH"},"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":"CVSS_V4","score":"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"}]}