{"api_version":"1","generated_at":"2026-07-23T21:59:52+00:00","cve":"CVE-2016-3096","urls":{"html":"https://cve.report/CVE-2016-3096","api":"https://cve.report/api/cve/CVE-2016-3096.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-3096","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-3096"},"summary":{"title":"CVE-2016-3096","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.","state":"PUBLISHED","assigner":"redhat","published_at":"2016-06-03 14:59:04","updated_at":"2026-05-06 22:30:45"},"problem_types":["CWE-59","n/a"],"metrics":[{"version":"3.0","source":"nvd@nist.gov","type":"Primary","score":"7.8","severity":"HIGH","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.2","severity":"","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","baseScore":7.2,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbd","name":"https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbd","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"ansible/CHANGELOG.md at v1.9.6-1 · ansible/ansible · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"[SECURITY] Fedora 22 Update: ansible-2.0.2.0-1.fc22","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"[SECURITY] Fedora 24 Update: ansible-2.0.2.0-1.fc24","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/ansible/ansible-modules-extras/pull/1941/commits/8c6fe646ee79f5e55361b885b7efed5bec72d4a4","name":"https://github.com/ansible/ansible-modules-extras/pull/1941/commits/8c6fe646ee79f5e55361b885b7efed5bec72d4a4","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"do not use a predictable filenames in the LXC plugin by evgeni · Pull Request #1941 · ansible/ansible-modules-extras · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"[SECURITY] Fedora 23 Update: ansible-2.0.2.0-1.fc23","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1322925","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1322925","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking"],"title":"1322925 – (CVE-2016-3096) CVE-2016-3096 ansible: Code execution vulnerability in lxc_container","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"[SECURITY] Fedora 22 Update: ansible1.9-1.9.6-1.fc22","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/ansible/ansible-modules-extras/pull/1941","name":"https://github.com/ansible/ansible-modules-extras/pull/1941","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"do not use a predictable filenames in the LXC plugin by evgeni · Pull Request #1941 · ansible/ansible-modules-extras · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201607-14","name":"https://security.gentoo.org/glsa/201607-14","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Ansible: Privilege escalation (GLSA 201607-14) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://groups.google.com/forum/#%21topic/ansible-announce/E80HLZilTU0","name":"https://groups.google.com/forum/#%21topic/ansible-announce/E80HLZilTU0","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Google Groups","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://groups.google.com/forum/#%21topic/ansible-announce/tqiZbcWxYig","name":"https://groups.google.com/forum/#%21topic/ansible-announce/tqiZbcWxYig","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Google Groups","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"[SECURITY] Fedora 23 Update: ansible1.9-1.9.6-1.fc23","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away","name":"https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"ansible/CHANGELOG.md at v2.0.2.0-1 · ansible/ansible · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://groups.google.com/forum/#!topic/ansible-announce/tqiZbcWxYig","name":"MLIST:[ansible-announce] 20160415 Ansible 1.9.6-1 has been released","refsource":"MITRE","tags":[],"title":"Google Groups","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://groups.google.com/forum/#!topic/ansible-announce/E80HLZilTU0","name":"MLIST:[ansible-announce] 20160419 Ansible 2.0.2.0 has been released","refsource":"MITRE","tags":[],"title":"Google Groups","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-3096","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3096","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2016","cve_id":"3096","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"22","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"3096","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"23","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"3096","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"24","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"3096","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"ansible","cpe6":"2.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"3096","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"ansible","cpe6":"2.0.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"3096","vulnerable":"1","versionEndIncluding":"1.9.6","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"ansible","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2016-3096","qid":"980882","title":"Python (pip) Security Update for ansible (GHSA-rh6x-qvg7-rrmj)"}]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-05T23:47:56.875Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1322925"},{"name":"FEDORA-2016-cd3cf8e7d0","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html"},{"name":"FEDORA-2016-ab154c56dd","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/ansible/ansible-modules-extras/pull/1941/commits/8c6fe646ee79f5e55361b885b7efed5bec72d4a4"},{"name":"FEDORA-2016-679c4ddd3c","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away"},{"name":"FEDORA-2016-65519440f5","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html"},{"name":"FEDORA-2016-28ff51a3f5","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.html"},{"name":"[ansible-announce] 20160415 Ansible 1.9.6-1 has been released","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"https://groups.google.com/forum/#%21topic/ansible-announce/tqiZbcWxYig"},{"name":"GLSA-201607-14","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"https://security.gentoo.org/glsa/201607-14"},{"name":"[ansible-announce] 20160419 Ansible 2.0.2.0 has been released","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"https://groups.google.com/forum/#%21topic/ansible-announce/E80HLZilTU0"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/ansible/ansible-modules-extras/pull/1941"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbd"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2016-04-15T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2016-11-25T20:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1322925"},{"name":"FEDORA-2016-cd3cf8e7d0","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html"},{"name":"FEDORA-2016-ab154c56dd","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/ansible/ansible-modules-extras/pull/1941/commits/8c6fe646ee79f5e55361b885b7efed5bec72d4a4"},{"name":"FEDORA-2016-679c4ddd3c","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away"},{"name":"FEDORA-2016-65519440f5","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html"},{"name":"FEDORA-2016-28ff51a3f5","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.html"},{"name":"[ansible-announce] 20160415 Ansible 1.9.6-1 has been released","tags":["mailing-list","x_refsource_MLIST"],"url":"https://groups.google.com/forum/#%21topic/ansible-announce/tqiZbcWxYig"},{"name":"GLSA-201607-14","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"https://security.gentoo.org/glsa/201607-14"},{"name":"[ansible-announce] 20160419 Ansible 2.0.2.0 has been released","tags":["mailing-list","x_refsource_MLIST"],"url":"https://groups.google.com/forum/#%21topic/ansible-announce/E80HLZilTU0"},{"tags":["x_refsource_CONFIRM"],"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"}]}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2016-3096","datePublished":"2016-06-03T14:00:00.000Z","dateReserved":"2016-03-10T00:00:00.000Z","dateUpdated":"2024-08-05T23:47:56.875Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2016-06-03 14:59:04","lastModifiedDate":"2026-05-06 22:30:45","problem_types":["CWE-59","n/a"],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","baseScore":7.2,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":3.9,"impactScore":10,"acInsufInfo":true,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*","matchCriteriaId":"253C303A-E577-4488-93E6-68A8DD942C38"},{"vulnerable":true,"criteria":"cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*","matchCriteriaId":"E79AB8DD-C907-4038-A931-1A5A4CFB6A5B"},{"vulnerable":true,"criteria":"cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:*","matchCriteriaId":"C729D5D1-ED95-443A-9F53-5D7C2FD9B80C"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*","versionEndIncluding":"1.9.6","matchCriteriaId":"55E24C57-51F0-41F3-8F6A-97172BD2B2F8"},{"vulnerable":true,"criteria":"cpe:2.3:a:redhat:ansible:2.0:*:*:*:*:*:*:*","matchCriteriaId":"E00043F3-7FA4-405A-A99B-AA79E8CB9F58"},{"vulnerable":true,"criteria":"cpe:2.3:a:redhat:ansible:2.0.1:*:*:*:*:*:*:*","matchCriteriaId":"A5EB983E-C6D7-40D6-ADE8-0FC5F289AD83"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2016","CveId":"3096","Ordinal":"1","Title":"CVE-2016-3096","CVE":"CVE-2016-3096","Year":"2016"},"notes":[{"CveYear":"2016","CveId":"3096","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2016-3096"},{"CveYear":"2016","CveId":"3096","Ordinal":"2","NoteData":"2016-06-03","Type":"Other","Title":"Published"},{"CveYear":"2016","CveId":"3096","Ordinal":"3","NoteData":"2016-11-25","Type":"Other","Title":"Modified"}]}}}