summaryrefslogtreecommitdiff
blob: 0480e52e4fc0aa4236f1e69a6dd71a8a278b87af (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200409-03">
  <title>Python 2.2: Buffer overflow in getaddrinfo()</title>
  <synopsis>
    Python 2.2 has a vulnerability in DNS handling when IPV6 is disabled and a
    malformed IPV6 address is encountered by getaddrinfo().
  </synopsis>
  <product type="ebuild">Python</product>
  <announced>2004-09-02</announced>
  <revised count="01">2004-09-02</revised>
  <bug>62440</bug>
  <access>remote</access>
  <affected>
    <package name="dev-lang/python" auto="yes" arch="*">
      <unaffected range="ge">2.2.2</unaffected>
      <unaffected range="lt">2.2</unaffected>
      <vulnerable range="lt">2.2.2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Python is an interpreted, interactive, object-oriented, cross-platform
    programming language.
    </p>
  </background>
  <description>
    <p>
    If IPV6 is disabled in Python 2.2, getaddrinfo() is not able to handle IPV6
    DNS requests properly and a buffer overflow occurs.
    </p>
  </description>
  <impact type="high">
    <p>
    An attacker can execute arbitrary code as the user running python.
    </p>
  </impact>
  <workaround>
    <p>
    Users with IPV6 enabled are not affected by this vulnerability.
    </p>
  </workaround>
  <resolution>
    <p>
    All Python 2.2 users should upgrade to the latest version:
    </p>
    <code>
    # emerge sync

    # emerge -pv "&gt;=dev-lang/python-2.2.2"
    # emerge "&gt;=dev-lang/python-2.2.2"</code>
  </resolution>
  <references>
    <uri link="https://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0150">CVE-2004-0150</uri>
    <uri link="http://www.osvdb.org/4172">OSVDB:4172</uri>
  </references>
  <metadata tag="submitter" timestamp="2004-08-31T22:51:44Z">
    chriswhite
  </metadata>
</glsa>