summaryrefslogtreecommitdiff
blob: 448450818e624ae3719d9e2c2f077e79ce3a99cb (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200711-28">
  <title>Perl: Buffer overflow</title>
  <synopsis>
    A buffer overflow in the Regular Expression engine in Perl possibly allows
    for the execution of arbitrary code.
  </synopsis>
  <product type="ebuild">perl</product>
  <announced>2007-11-19</announced>
  <revised count="01">2007-11-19</revised>
  <bug>198196</bug>
  <access>remote</access>
  <affected>
    <package name="dev-lang/perl" auto="yes" arch="*">
      <unaffected range="ge">5.8.8-r4</unaffected>
      <vulnerable range="lt">5.8.8-r4</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Perl is a stable, cross-platform programming language created by Larry
    Wall.
    </p>
  </background>
  <description>
    <p>
    Tavis Ormandy and Will Drewry (Google Security Team) discovered a
    heap-based buffer overflow in the Regular Expression engine (regcomp.c)
    that occurs when switching from byte to Unicode (UTF-8) characters in a
    regular expression.
    </p>
  </description>
  <impact type="normal">
    <p>
    A remote attacker could either entice a user to compile a specially
    crafted regular expression or actively compile it in case the script
    accepts remote input of regular expressions, possibly leading to the
    execution of arbitrary code with the privileges of the user running
    Perl.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Perl users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=dev-lang/perl-5.8.8-r4"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5116">CVE-2007-5116</uri>
  </references>
  <metadata tag="requester" timestamp="2007-11-14T01:27:30Z">
    rbu
  </metadata>
  <metadata tag="submitter" timestamp="2007-11-15T00:34:08Z">
    rbu
  </metadata>
  <metadata tag="bugReady" timestamp="2007-11-19T14:24:28Z">
    rbu
  </metadata>
</glsa>