summaryrefslogtreecommitdiff
path: root/metadata/glsa/glsa-201409-09.xml
blob: 6a97564649d70d4cf7b66fa6e46826748aea3c78 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201409-09">
  <title>Bash: Code Injection</title>
  <synopsis>A parsing flaw related to functions and environments in Bash could
    allow attackers to inject code.
  </synopsis>
  <product type="ebuild">bash</product>
  <announced>2014-09-24</announced>
  <revised count="4">2014-10-04</revised>
  <bug>523592</bug>
  <access>local, remote</access>
  <affected>
    <package name="app-shells/bash" auto="yes" arch="*">
      <unaffected range="rge">3.1_p18</unaffected>
      <unaffected range="rge">3.2_p52</unaffected>
      <unaffected range="rge">4.0_p39</unaffected>
      <unaffected range="rge">4.1_p12</unaffected>
      <unaffected range="ge">4.2_p48</unaffected>
      <vulnerable range="lt">4.2_p48</vulnerable>
    </package>
  </affected>
  <background>
    <p>Bash is the standard GNU Bourne Again SHell. </p>
  </background>
  <description>
    <p>Stephane Chazelas reported that Bash incorrectly handles function
      definitions, allowing attackers to inject arbitrary code.
    </p>
  </description>
  <impact type="high">
    <p>A remote attacker could exploit this vulnerability to execute arbitrary
      commands even in restricted environments.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All Bash 3.1 users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=app-shells/bash-3.1_p18:3.1"
    </code>
    
    <p>All Bash 3.2 users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=app-shells/bash-3.2_p52:3.2"
    </code>
    
    <p>All Bash 4.0 users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=app-shells/bash-4.0_p39:4.0"
    </code>
    
    <p>All Bash 4.1 users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=app-shells/bash-4.1_p12:4.1"
    </code>
    
    <p>All Bash 4.2 users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=app-shells/bash-4.2_p48"
    </code>
    
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-6271">CVE-2014-6271</uri>
  </references>
  <metadata tag="requester" timestamp="2014-09-24T16:00:19Z">a3li</metadata>
  <metadata tag="submitter" timestamp="2014-10-04T22:25:14Z">a3li</metadata>
</glsa>