summaryrefslogtreecommitdiff
blob: 53e1efd477a7934a84fb8f20f42905803a9c1718 (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200509-08">
  <title>Python: Heap overflow in the included PCRE library</title>
  <synopsis>
    The "re" Python module is vulnerable to a heap overflow, possibly leading
    to the execution of arbitrary code.
  </synopsis>
  <product type="ebuild">Python</product>
  <announced>2005-09-12</announced>
  <revised count="01">2005-09-12</revised>
  <bug>104009</bug>
  <access>remote</access>
  <affected>
    <package name="dev-lang/python" auto="yes" arch="*">
      <unaffected range="ge">2.3.5-r2</unaffected>
      <vulnerable range="lt">2.3.5-r2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Python is an interpreted, interactive, object-oriented,
    cross-platform programming language. The "re" Python module provides
    regular expression functions.
    </p>
  </background>
  <description>
    <p>
    The "re" Python module makes use of a private copy of libpcre
    which is subject to an integer overflow leading to a heap overflow (see
    GLSA 200508-17).
    </p>
  </description>
  <impact type="normal">
    <p>
    An attacker could target a Python-based web application (or SUID
    application) that would use untrusted data as regular expressions,
    potentially resulting in the execution of arbitrary code (or privilege
    escalation).
    </p>
  </impact>
  <workaround>
    <p>
    Python users that don't run any Python web application or SUID
    application (or that run one that wouldn't use untrusted inputs as
    regular expressions) are not affected by this issue.
    </p>
  </workaround>
  <resolution>
    <p>
    All Python users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=dev-lang/python-2.3.5-r2"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2491">CAN-2005-2491</uri>
    <uri link="https://www.gentoo.org/security/en/glsa/glsa-200508-17.xml">GLSA 200508-17</uri>
  </references>
  <metadata tag="requester" timestamp="2005-09-10T18:18:03Z">
    koon
  </metadata>
  <metadata tag="bugReady" timestamp="2005-09-11T15:37:16Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2005-09-11T18:47:02Z">
    koon
  </metadata>
</glsa>