GHSA-rh6x-qvg7-rrmj
Vulnerability from github
Published
2018-10-10 17:23
Modified
2024-09-04 18:55
Severity ?
7.8 (High) - CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
8.5 (High) - 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
8.5 (High) - 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
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: [ { database_specific: { last_known_affected_version_range: "<= 2.0.1.0", }, package: { ecosystem: "PyPI", name: "ansible", }, ranges: [ { events: [ { introduced: "2.0.0.0", }, { fixed: "2.0.2.0", }, ], type: "ECOSYSTEM", }, ], }, { database_specific: { last_known_affected_version_range: "<= 1.9.6.0", }, package: { ecosystem: "PyPI", name: "ansible", }, ranges: [ { events: [ { introduced: "0", }, { fixed: "1.9.6.1", }, ], type: "ECOSYSTEM", }, ], }, ], aliases: [ "CVE-2016-3096", ], 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", }, 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: "GHSA-rh6x-qvg7-rrmj", modified: "2024-09-04T18:55:10Z", published: "2018-10-10T17:23:45Z", 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", }, ], schema_version: "1.4.0", severity: [ { score: "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", type: "CVSS_V3", }, { 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", type: "CVSS_V4", }, ], summary: "Link Following in ansible", }
Log in or create an account to share your comment.
Security Advisory comment format.
This schema specifies the format of a comment related to a security advisory.
Title of the comment
Description of the comment
Loading…
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.
- 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.