summaryrefslogtreecommitdiff
blob: 9ec2d7b0b7d4804e33d121030e89b4a0f22628fb (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201309-21">
  <title>klibc: Command Injection</title>
  <synopsis>A vulnerability in klibc could allow remote attackers to execute
    arbitrary shell code.
  </synopsis>
  <product type="ebuild">klibc</product>
  <announced>2013-09-26</announced>
  <revised count="1">2013-09-26</revised>
  <bug>369075</bug>
  <access>remote</access>
  <affected>
    <package name="dev-libs/klibc" auto="yes" arch="*">
      <unaffected range="ge">1.5.25</unaffected>
      <vulnerable range="lt">1.5.25</vulnerable>
    </package>
  </affected>
  <background>
    <p>klibc is a minimalistic libc used for making an initramfs.</p>
  </background>
  <description>
    <p>The ipconfig utility in klibc writes DHCP options to
      /tmp/net-$DEVICE.conf, and this file is later sourced by other scripts to
      get defined variables. The options written to this file are not properly
      escaped.
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker could send a specially crafted DHCP reply, which could
      execute arbitrary shell code with the privileges of any process which
      sources DHCP options.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All klibc users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-libs/klibc-1.5.25"
    </code>
    
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-1930">CVE-2011-1930</uri>
  </references>
  <metadata tag="requester" timestamp="2013-08-30T11:18:21Z">
    pinkbyte
  </metadata>
  <metadata tag="submitter" timestamp="2013-09-26T23:52:30Z">
    creffett
  </metadata>
</glsa>