summaryrefslogtreecommitdiff
path: root/metadata/glsa/glsa-201701-31.xml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /metadata/glsa/glsa-201701-31.xml
reinit the tree, so we can have metadata
Diffstat (limited to 'metadata/glsa/glsa-201701-31.xml')
-rw-r--r--metadata/glsa/glsa-201701-31.xml61
1 files changed, 61 insertions, 0 deletions
diff --git a/metadata/glsa/glsa-201701-31.xml b/metadata/glsa/glsa-201701-31.xml
new file mode 100644
index 000000000000..dff98ff152e6
--- /dev/null
+++ b/metadata/glsa/glsa-201701-31.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
+<glsa id="201701-31">
+ <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>2017-01-11</announced>
+ <revised>2017-01-11: 1</revised>
+ <bug>589820</bug>
+ <access>remote</access>
+ <affected>
+ <package name="sys-devel/flex" auto="yes" arch="*">
+ <unaffected range="ge">2.6.1</unaffected>
+ <vulnerable range="lt">2.6.1</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>A heap-based buffer overflow in the yy_get_next_buffer function in Flex
+ might allow context-dependent attackers to cause a denial of service or
+ possibly execute arbitrary code via vectors involving num_to_read.
+ </p>
+ </description>
+ <impact type="normal">
+ <p>Context-dependent attackers could cause a Denial of Service condition or
+ possibly execute arbitrary code with the privileges of the process.
+ </p>
+ </impact>
+ <workaround>
+ <p>There is no known workaround at this time.</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.6.1"
+ </code>
+
+ <p>Packages which depend on flex may need to be recompiled. Tools such as
+ qdepends (included in app-portage/portage-utils) may assist in
+ identifying these packages:
+ </p>
+
+ <code>
+ # emerge --oneshot --ask --verbose $(qdepends -CQ sys-devel/flex | sed
+ 's/^/=/')
+ </code>
+ </resolution>
+ <references>
+ <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-6354">CVE-2016-6354</uri>
+ </references>
+ <metadata tag="requester" timestamp="2017-01-09T14:07:40Z">whissi</metadata>
+ <metadata tag="submitter" timestamp="2017-01-11T12:41:44Z">whissi</metadata>
+</glsa>