CVE-2016-3096

Summary

CVECVE-2016-3096
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-06-03 14:59:04 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.0 7.8 HIGH from [email protected]

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem Types: CWE-59 | n/a


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary7.8HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
2.0[email protected]Primary7.2AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS v3.0 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:L/AC:L/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 22 All All All
Operating System Fedoraproject Fedora 23 All All All
Operating System Fedoraproject Fedora 24 All All All
Application Redhat Ansible 2.0 All All All
Application Redhat Ansible 2.0.1 All All All
Application Redhat Ansible All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
ansible/CHANGELOG.md at v1.9.6-1 · ansible/ansible · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Third Party Advisory
[SECURITY] Fedora 22 Update: ansible-2.0.2.0-1.fc22 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Vendor Advisory
[SECURITY] Fedora 24 Update: ansible-2.0.2.0-1.fc24 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Vendor Advisory
do not use a predictable filenames in the LXC plugin by evgeni · Pull Request #1941 · ansible/ansible-modules-extras · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch
[SECURITY] Fedora 23 Update: ansible-2.0.2.0-1.fc23 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Vendor Advisory
1322925 – (CVE-2016-3096) CVE-2016-3096 ansible: Code execution vulnerability in lxc_container af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking
[SECURITY] Fedora 22 Update: ansible1.9-1.9.6-1.fc22 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Third Party Advisory
do not use a predictable filenames in the LXC plugin by evgeni · Pull Request #1941 · ansible/ansible-modules-extras · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch
Ansible: Privilege escalation (GLSA 201607-14) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org Third Party Advisory
Google Groups af854a3a-2127-422b-91ae-364da2661108 groups.google.com
Google Groups af854a3a-2127-422b-91ae-364da2661108 groups.google.com
[SECURITY] Fedora 23 Update: ansible1.9-1.9.6-1.fc23 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Vendor Advisory
ansible/CHANGELOG.md at v2.0.2.0-1 · ansible/ansible · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch
Google Groups MITRE groups.google.com
Google Groups MITRE groups.google.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 980882 Python (pip) Security Update for ansible (GHSA-rh6x-qvg7-rrmj)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report