summaryrefslogtreecommitdiff
blob: 726f48f2a9b57e4cd84c53ad0fec0a812bee2468 (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200909-19">
  <title>Dnsmasq: Multiple vulnerabilities</title>
  <synopsis>
    Multiple vulnerabilities in Dnsmasq might result in the remote execution of
    arbitrary code, or a Denial of Service.
  </synopsis>
  <product type="ebuild">dnsmasq</product>
  <announced>2009-09-20</announced>
  <revised count="01">2009-09-20</revised>
  <bug>282653</bug>
  <access>remote</access>
  <affected>
    <package name="net-dns/dnsmasq" auto="yes" arch="*">
      <unaffected range="ge">2.5.0</unaffected>
      <vulnerable range="lt">2.5.0</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP
    server. It includes support for Trivial FTP (TFTP).
    </p>
  </background>
  <description>
    <p>
    Multiple vulnerabilities have been reported in the TFTP functionality
    included in Dnsmasq:
    </p>
    <ul>
    <li>Pablo Jorge and Alberto Solino
    discovered a heap-based buffer overflow (CVE-2009-2957).</li>
    <li>An
    anonymous researcher reported a NULL pointer reference
    (CVE-2009-2958).</li>
    </ul>
  </description>
  <impact type="normal">
    <p>
    A remote attacker in the local network could exploit these
    vulnerabilities by sending specially crafted TFTP requests to a machine
    running Dnsmasq, possibly resulting in the remote execution of
    arbitrary code with the privileges of the user running the daemon, or a
    Denial of Service. NOTE: The TFTP server is not enabled by default.
    </p>
  </impact>
  <workaround>
    <p>
    You can disable the TFTP server either at buildtime by not enabling the
    "tftp" USE flag, or at runtime. Make sure "--enable-tftp" is not set in
    the DNSMASQ_OPTS variable in the /etc/conf.d/dnsmasq file and
    "enable-tftp" is not set in /etc/dnsmasq.conf, either of which would
    enable TFTP support if it is compiled in.
    </p>
  </workaround>
  <resolution>
    <p>
    All Dnsmasq users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=net-dns/dnsmasq-2.5.0"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2957">CVE-2009-2957</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2958">CVE-2009-2958</uri>
  </references>
  <metadata tag="submitter" timestamp="2009-09-01T10:28:12Z">
    a3li
  </metadata>
  <metadata tag="bugReady" timestamp="2009-09-20T18:56:49Z">
    a3li
  </metadata>
</glsa>