summaryrefslogtreecommitdiff
blob: 0698d5a0bbf0455c72472899b5262011aae5b5eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201607-14">
  <title>Ansible: Privilege escalation</title>
  <synopsis>A vulnerability in Ansible may allow local attackers to gain
    escalated privileges or write arbitrary files.
  </synopsis>
  <product type="ebuild">ansible</product>
  <announced>2016-07-20</announced>
  <revised>2016-07-20: 2</revised>
  <bug>578814</bug>
  <access>local</access>
  <affected>
    <package name="app-admin/ansible" auto="yes" arch="*">
      <unaffected range="ge">2.0.2.0-r1</unaffected>
      <unaffected range="rge">1.9.6</unaffected>
      <vulnerable range="lt">2.0.2.0-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>Ansible is a radically simple IT automation platform.</p>
  </background>
  <description>
    <p>The create_script function in the lxc_container module of Ansible uses
      predictable temporary file names, making it vulnerable to a symlink
      attack.
    </p>
  </description>
  <impact type="normal">
    <p>Local attackers could write arbitrary files or gain escalated privileges
      within the container.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All Ansible 1.9.x users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=app-admin/ansible-1.9.6"
    </code>
    
    <p>All Ansible 2.0.2.x users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=app-admin/ansible-2.0.2.0-r1"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-3096">CVE-2016-3096</uri>
  </references>
  <metadata tag="requester" timestamp="2016-06-25T23:46:35Z">b-man</metadata>
  <metadata tag="submitter" timestamp="2016-07-20T11:34:27Z">ackle</metadata>
</glsa>