summaryrefslogtreecommitdiff
blob: b4284006ae8f98e831afa9fee888c2b44a889399 (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200410-15">
  <title>Squid: Remote DoS vulnerability</title>
  <synopsis>
    Squid contains a vulnerability in the SNMP module which may lead to a
    denial of service.
  </synopsis>
  <product type="ebuild">squid</product>
  <announced>2004-10-18</announced>
  <revised>2007-12-30: 03</revised>
  <bug>67167</bug>
  <access>remote</access>
  <affected>
    <package name="net-proxy/squid" auto="yes" arch="*">
      <unaffected range="ge">2.5.7</unaffected>
      <vulnerable range="lt">2.5.7</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Squid is a full-featured Web proxy cache designed to run on Unix
    systems. It supports proxying and caching of HTTP, FTP, and other URLs,
    as well as SSL support, cache hierarchies, transparent caching, access
    control lists and many other features.
    </p>
  </background>
  <description>
    <p>
    A parsing error exists in the SNMP module of Squid where a
    specially-crafted UDP packet can potentially cause the server to
    restart, closing all current connections. This vulnerability only
    exists in versions of Squid compiled with the 'snmp' USE flag.
    </p>
  </description>
  <impact type="normal">
    <p>
    An attacker can repeatedly send these malicious UDP packets to the
    Squid server, leading to a denial of service.
    </p>
  </impact>
  <workaround>
    <p>
    Disable SNMP support or filter the port that has SNMP processing
    (default is 3401) to allow only SNMP data from trusted hosts.
    </p>
    <p>
    To disable SNMP support put the entry snmp_port 0 in the squid.conf
    configuration file.
    </p>
    <p>
    To allow only the local interface to process SNMP, add the entry
    "snmp_incoming_address 127.0.0.1" in the squid.conf configuration file.
    </p>
  </workaround>
  <resolution>
    <p>
    All Squid users should upgrade to the latest version:
    </p>
    <code>
    # emerge sync
    
    # emerge -pv "&gt;=net-proxy/squid-2.5.7"
    # emerge "&gt;=net-proxy/squid-2.5.7"</code>
  </resolution>
  <references>
    <uri link="http://www.idefense.com/application/poi/display?id=152&amp;type=vulnerabilities&amp;flashstatus=true">iDEFENSE Advisory</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0918">CVE-2004-0918</uri>
  </references>
  <metadata tag="requester" timestamp="2004-10-17T17:38:48Z">
    koon
  </metadata>
  <metadata tag="bugReady" timestamp="2004-10-17T17:38:55Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2004-10-17T18:44:11Z">
    lewk
  </metadata>
</glsa>