summaryrefslogtreecommitdiff
blob: 79002b55429e7576cafdf3f124b3ccbc6aaa9e58 (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200603-07">
  <title>flex: Potential insecure code generation</title>
  <synopsis>
    flex might generate code with a buffer overflow, making applications using
    such scanners vulnerable to the execution of arbitrary code.
  </synopsis>
  <product type="ebuild">flex</product>
  <announced>2006-03-10</announced>
  <revised count="01">2006-03-10</revised>
  <bug>122940</bug>
  <access>remote and local</access>
  <affected>
    <package name="sys-devel/flex" auto="yes" arch="*">
      <unaffected range="ge">2.5.33-r1</unaffected>
      <vulnerable range="lt">2.5.33-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    flex is a programming tool used to generate scanners (programs
    which recognize lexical patterns in text).
    </p>
  </background>
  <description>
    <p>
    Chris Moore discovered a buffer overflow in a special class of
    lexicographical scanners generated by flex. Only scanners generated by
    grammars which use either REJECT, or rules with a "variable trailing
    context" might be at risk.
    </p>
  </description>
  <impact type="normal">
    <p>
    An attacker could feed malicious input to an application making
    use of an affected scanner and trigger the buffer overflow, potentially
    resulting in the execution of arbitrary code.
    </p>
  </impact>
  <workaround>
    <p>
    Avoid using vulnerable grammar in your flex scanners.
    </p>
  </workaround>
  <resolution>
    <p>
    All flex users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=sys-devel/flex-2.5.33-r1"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0459">CVE-2006-0459</uri>
  </references>
  <metadata tag="requester" timestamp="2006-03-03T18:28:11Z">
    koon
  </metadata>
  <metadata tag="bugReady" timestamp="2006-03-03T18:29:09Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2006-03-07T21:06:21Z">
    koon
  </metadata>
</glsa>