summaryrefslogtreecommitdiff
blob: ecd0563c4c8e7c7558e4a89b1d0e902ac405a6a0 (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201210-05">
  <title>Bash: Multiple vulnerabilities</title>
  <synopsis>Two vulnerabilities have been found in Bash, the worst of which may
    allow execution of arbitrary code.
  </synopsis>
  <product type="ebuild">bash</product>
  <announced>2012-10-20</announced>
  <revised count="1">2012-10-20</revised>
  <bug>251319</bug>
  <bug>431850</bug>
  <access>local</access>
  <affected>
    <package name="app-shells/bash" auto="yes" arch="*">
      <unaffected range="ge">4.2_p37</unaffected>
      <vulnerable range="lt">4.2_p37</vulnerable>
    </package>
  </affected>
  <background>
    <p>Bash is the standard GNU Bourne Again SHell. </p>
  </background>
  <description>
    <p>Two vulnerabilities have been found in Bash:</p>
    
    <ul>
      <li>Bash example scripts do not handle temporary files securely
        (CVE-2008-5374).
      </li>
      <li>Improper bounds checking in Bash could cause a stack-based buffer
        overflow (CVE-2012-3410).
      </li>
    </ul>
  </description>
  <impact type="normal">
    <p>A remote attacker could entice a user to open a specially crafted Bash
      script, possibly resulting in execution of arbitrary code with the
      privileges of the process, or a Denial of Service condition of the Bash
      executable. 
    </p>
    
    <p>A local attacker may be able to perform symlink attacks to overwrite
      arbitrary files with the privileges of the user running the application
      or bypass shell access restrictions.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All Bash users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=app-shells/bash-4.2_p37"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-5374">CVE-2008-5374</uri>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-3410">CVE-2012-3410</uri>
  </references>
  <metadata tag="requester" timestamp="2012-09-04T16:02:06Z">
    underling
  </metadata>
  <metadata tag="submitter" timestamp="2012-10-20T00:12:47Z">ackle</metadata>
</glsa>