summaryrefslogtreecommitdiff
blob: bdc430ee69a4d5dc6c9aacc55f99bd1dbfddbd93 (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="200807-03">
  <title>PCRE: Buffer overflow</title>
  <synopsis>
    A buffer overflow vulnerability has been discovered in PCRE, allowing for
    the execution of arbitrary code and a Denial of Service.
  </synopsis>
  <product type="ebuild">libpcre glib</product>
  <announced>2008-07-07</announced>
  <revised>2008-07-07: 01</revised>
  <bug>228091</bug>
  <bug>230039</bug>
  <access>remote</access>
  <affected>
    <package name="dev-libs/libpcre" auto="yes" arch="*">
      <unaffected range="ge">7.7-r1</unaffected>
      <vulnerable range="lt">7.7-r1</vulnerable>
    </package>
    <package name="dev-libs/glib" auto="yes" arch="*">
      <unaffected range="ge">2.16.3-r1</unaffected>
      <unaffected range="lt">2.14.0</unaffected>
      <vulnerable range="lt">2.16.3-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    PCRE is a Perl-compatible regular expression library. GLib includes a
    copy of PCRE.
    </p>
  </background>
  <description>
    <p>
    Tavis Ormandy of the Google Security team reported a heap-based buffer
    overflow when compiling regular expression patterns containing
    "Internal Option Settings" such as "<i>(?i)</i>".
    </p>
  </description>
  <impact type="high">
    <p>
    A remote attacker could exploit this vulnerability by sending a
    specially crafted regular expression to an application making use of
    the PCRE library, which could possibly lead to the execution of
    arbitrary code or a Denial of Service.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All PCRE users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=dev-libs/libpcre-7.7-r1"</code>
    <p>
    All GLib users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=dev-libs/glib-2.16.3-r1"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2371">CVE-2008-2371</uri>
  </references>
  <metadata tag="submitter" timestamp="2008-07-07T00:02:02Z">
    rbu
  </metadata>
  <metadata tag="bugReady" timestamp="2008-07-07T00:02:22Z">
    rbu
  </metadata>
</glsa>