You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/metadata/glsa/glsa-200603-07.xml

67 lines
2.1 KiB

<?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>