gsd-2016-3096
Vulnerability from gsd
Modified
2023-12-13 01:21
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.
Aliases
Aliases
{
"GSD": {
"alias": "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.",
"id": "GSD-2016-3096",
"references": [
"https://www.suse.com/security/cve/CVE-2016-3096.html",
"https://advisories.mageia.org/CVE-2016-3096.html"
]
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2016-3096"
],
"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.",
"id": "GSD-2016-3096",
"modified": "2023-12-13T01:21:27.783305Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "secalert@redhat.com",
"ID": "CVE-2016-3096",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_affected": "=",
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.html",
"refsource": "MISC",
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.html"
},
{
"name": "http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html",
"refsource": "MISC",
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html"
},
{
"name": "http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html",
"refsource": "MISC",
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html"
},
{
"name": "http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html",
"refsource": "MISC",
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html"
},
{
"name": "http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html",
"refsource": "MISC",
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html"
},
{
"name": "https://github.com/ansible/ansible-modules-extras/pull/1941",
"refsource": "MISC",
"url": "https://github.com/ansible/ansible-modules-extras/pull/1941"
},
{
"name": "https://github.com/ansible/ansible-modules-extras/pull/1941/commits/8c6fe646ee79f5e55361b885b7efed5bec72d4a4",
"refsource": "MISC",
"url": "https://github.com/ansible/ansible-modules-extras/pull/1941/commits/8c6fe646ee79f5e55361b885b7efed5bec72d4a4"
},
{
"name": "https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbd",
"refsource": "MISC",
"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/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away",
"refsource": "MISC",
"url": "https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away"
},
{
"name": "https://groups.google.com/forum/#%21topic/ansible-announce/E80HLZilTU0",
"refsource": "MISC",
"url": "https://groups.google.com/forum/#%21topic/ansible-announce/E80HLZilTU0"
},
{
"name": "https://groups.google.com/forum/#%21topic/ansible-announce/tqiZbcWxYig",
"refsource": "MISC",
"url": "https://groups.google.com/forum/#%21topic/ansible-announce/tqiZbcWxYig"
},
{
"name": "https://security.gentoo.org/glsa/201607-14",
"refsource": "MISC",
"url": "https://security.gentoo.org/glsa/201607-14"
},
{
"name": "https://bugzilla.redhat.com/show_bug.cgi?id=1322925",
"refsource": "MISC",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1322925"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003e=2.0.0,\u003c=2.0.1.0||\u003c=1.9.6.0",
"affected_versions": "All versions starting from 2.0.0 up to 2.0.1.0, all versions up to 1.9.6.0",
"cvss_v2": "AV:L/AC:L/Au:N/C:C/I:C/A:C",
"cvss_v3": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-59",
"CWE-937"
],
"date": "2021-09-17",
"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 the archived container in the archive_path directory, or the lxc-attach-script.err files in the temporary directory.",
"fixed_versions": [
"1.9.6.1"
],
"identifier": "CVE-2016-3096",
"identifiers": [
"GHSA-rh6x-qvg7-rrmj",
"CVE-2016-3096"
],
"not_impacted": "All versions before 2.0.0, all versions after 1.9.6.0 before 2.0.1.0",
"package_slug": "pypi/ansible",
"pubdate": "2018-10-10",
"solution": "Upgrade to version 1.9.6.1 or above.",
"title": "Improper Link Resolution Before File Access ",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2016-3096",
"https://github.com/advisories/GHSA-rh6x-qvg7-rrmj"
],
"uuid": "66264728-dc54-4df4-a4a6-453123fd767f"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
}
],
"operator": "OR"
},
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndIncluding": "1.9.6",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:redhat:ansible:2.0:*:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:redhat:ansible:2.0.1:*:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "secalert@redhat.com",
"ID": "CVE-2016-3096"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-59"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "FEDORA-2016-28ff51a3f5",
"refsource": "FEDORA",
"tags": [
"Third Party Advisory"
],
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.html"
},
{
"name": "https://bugzilla.redhat.com/show_bug.cgi?id=1322925",
"refsource": "CONFIRM",
"tags": [
"Issue Tracking"
],
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1322925"
},
{
"name": "https://github.com/ansible/ansible-modules-extras/pull/1941/commits/8c6fe646ee79f5e55361b885b7efed5bec72d4a4",
"refsource": "CONFIRM",
"tags": [
"Patch"
],
"url": "https://github.com/ansible/ansible-modules-extras/pull/1941/commits/8c6fe646ee79f5e55361b885b7efed5bec72d4a4"
},
{
"name": "https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away",
"refsource": "CONFIRM",
"tags": [
"Patch"
],
"url": "https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away"
},
{
"name": "FEDORA-2016-cd3cf8e7d0",
"refsource": "FEDORA",
"tags": [
"Vendor Advisory"
],
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html"
},
{
"name": "FEDORA-2016-679c4ddd3c",
"refsource": "FEDORA",
"tags": [
"Vendor Advisory"
],
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html"
},
{
"name": "https://github.com/ansible/ansible-modules-extras/pull/1941",
"refsource": "CONFIRM",
"tags": [
"Patch"
],
"url": "https://github.com/ansible/ansible-modules-extras/pull/1941"
},
{
"name": "FEDORA-2016-65519440f5",
"refsource": "FEDORA",
"tags": [
"Vendor Advisory"
],
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html"
},
{
"name": "FEDORA-2016-ab154c56dd",
"refsource": "FEDORA",
"tags": [
"Vendor Advisory"
],
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html"
},
{
"name": "https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbd",
"refsource": "CONFIRM",
"tags": [
"Third Party Advisory"
],
"url": "https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbd"
},
{
"name": "GLSA-201607-14",
"refsource": "GENTOO",
"tags": [
"Third Party Advisory"
],
"url": "https://security.gentoo.org/glsa/201607-14"
},
{
"name": "https://groups.google.com/forum/#%21topic/ansible-announce/E80HLZilTU0",
"refsource": "MISC",
"tags": [],
"url": "https://groups.google.com/forum/#%21topic/ansible-announce/E80HLZilTU0"
},
{
"name": "https://groups.google.com/forum/#%21topic/ansible-announce/tqiZbcWxYig",
"refsource": "MISC",
"tags": [],
"url": "https://groups.google.com/forum/#%21topic/ansible-announce/tqiZbcWxYig"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": true,
"cvssV2": {
"accessComplexity": "LOW",
"accessVector": "LOCAL",
"authentication": "NONE",
"availabilityImpact": "COMPLETE",
"baseScore": 7.2,
"confidentialityImpact": "COMPLETE",
"integrityImpact": "COMPLETE",
"vectorString": "AV:L/AC:L/Au:N/C:C/I:C/A:C",
"version": "2.0"
},
"exploitabilityScore": 3.9,
"impactScore": 10.0,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "HIGH",
"userInteractionRequired": false
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.0"
},
"exploitabilityScore": 1.8,
"impactScore": 5.9
}
},
"lastModifiedDate": "2023-02-13T04:50Z",
"publishedDate": "2016-06-03T14:59Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…