Login
Login-Name Passwort


 
Newsletter
Werbung

Sicherheit: Pufferüberlauf in flex
Aktuelle Meldungen Distributionen
Name: Pufferüberlauf in flex
ID: 201701-31
Distribution: Gentoo
Plattformen: Keine Angabe
Datum: Mi, 11. Januar 2017, 17:11
Referenzen: http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-6354

Originalnachricht

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--QjECd3nB8eIDliiUpVLt8iHxvllTkbbXD
Content-Type: multipart/mixed;
boundary="GxU5bwJ95f1L4h0XeXH1GCldBowv5og6A"
From: Aaron Bauman <bman@gentoo.org>
To: gentoo-announce@lists.gentoo.org
Message-ID: <8296ae92-f48f-9486-2cda-068ed5a575a4@gentoo.org>
Subject: [ GLSA 201701-31 ] flex: Potential insecure code generation

--GxU5bwJ95f1L4h0XeXH1GCldBowv5og6A
Content-Type: multipart/alternative;
boundary="------------2359F7E336C19C988752C4B5"

This is a multi-part message in MIME format.
--------------2359F7E336C19C988752C4B5
Content-Type: text/plain; charset=utf-
Content-Transfer-Encoding: quoted-printable

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 201701-31
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: flex: Potential insecure code generation
Date: January 11, 2017
Bugs: #589820
ID: 201701-31

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Flex might generate code with a buffer overflow making applications
using such scanners vulnerable to the execution of arbitrary code.

Background
==========

flex is a programming tool used to generate scanners (programs which
recognize lexical patterns in text).

Affected packages
=================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 sys-devel/flex < 2.6.1 >= 2.6.1

Description
===========

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.

Impact
======

Context-dependent attackers could cause a Denial of Service condition
or possibly execute arbitrary code with the privileges of the process.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All flex users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-devel/flex-2.6.1"

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:

# emerge -1 -a -v $(qdepends -CQ sys-devel/flex | sed 's/^/=/')

References
==========

[ 1 ] CVE-2016-6354
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-6354

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

https://security.gentoo.org/glsa/201701-31

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2017 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5


--------------2359F7E336C19C988752C4B5
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html>
<head>

<meta http-equiv=3D"Content-Type" content=3D"text/html;
charset=3Dutf=
-8">
</head>
<body bgcolor=3D"#FFFFFF" text=3D"#000000">
<p>
<meta http-equiv=3D"Content-Type" content=3D"text/html;
charset=3Du=
tf-8">
</p>
<pre style=3D"color: rgb(0, 0, 0); font-style: normal;
font-variant-l=
igatures: normal; font-variant-caps: normal; font-weight: normal; letter-=
spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-tr=
ansform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0=
px; word-wrap: break-word; white-space: pre-wrap;">- - - - - - - - - - -
=
- - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 201701-31
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<a
class=3D"moz-txt-link-freet=
ext" href=3D"https://security.gentoo.org/">https://security.gentoo.org/</=
a>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: flex: Potential insecure code generation
Date: January 11, 2017
Bugs: #589820
ID: 201701-31

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D

Flex might generate code with a buffer overflow making applications
using such scanners vulnerable to the execution of arbitrary code.

Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

flex is a programming tool used to generate scanners (programs which
recognize lexical patterns in text).

Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 sys-devel/flex &lt; 2.6.1 &gt;=3D
2=
=2E6.1=20

Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

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.

Impact
=3D=3D=3D=3D=3D=3D

Context-dependent attackers could cause a Denial of Service condition
or possibly execute arbitrary code with the privileges of the process.

Workaround
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

There is no known workaround at this time.

Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

All flex users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose "&gt;=3Dsys-devel/flex-2.6.1"

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:

# emerge -1 -a -v $(qdepends -CQ sys-devel/flex | sed 's/^/=3D/')

References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

[ 1 ] CVE-2016-6354
<a class=3D"moz-txt-link-freetext" href=3D"http://nvd.nist.gov/nvd.=
cfm?cvename=3DCVE-2016-6354">http://nvd.nist.gov/nvd.cfm?cvename=3DCVE-20=
16-6354</a>

Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

<a class=3D"moz-txt-link-freetext" href=3D"https://security.gentoo.org/g=
lsa/201701-31">https://security.gentoo.org/glsa/201701-31</a>

Concerns?
=3D=3D=3D=3D=3D=3D=3D=3D=3D

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
<a class=3D"moz-txt-link-abbreviated"
href=3D"mailto:security@gentoo.org"=
>security@gentoo.org</a> or alternatively, you may file a bug at
<a class=3D"moz-txt-link-freetext" href=3D"https://bugs.gentoo.org">https=
://bugs.gentoo.org</a>.

License
=3D=3D=3D=3D=3D=3D=3D

Copyright 2017 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

<a class=3D"moz-txt-link-freetext" href=3D"http://creativecommons.org/lic=
enses/by-sa/2.5">http://creativecommons.org/licenses/by-sa/2.5</a></pre>
</body>
</html>

--------------2359F7E336C19C988752C4B5--

--GxU5bwJ95f1L4h0XeXH1GCldBowv5og6A--

--QjECd3nB8eIDliiUpVLt8iHxvllTkbbXD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJYdiggXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1OTcyRDI4NDhFOEE0NDYwRTdERTY4QUM5
RjI4QkQ4QkQxRTM5NUZGAAoJEJ8ovYvR45X/5ZcP/ieB0C+fSr7vf9l0f6oPFipA
SLY9KP+SXpfeL02qL8ptPhmnIsuMn/ut4EOomEQAfG5T9X4Qe9pOdBI3OPfmRsHL
v+2egefjqjV5VN80z1w3rs9tbGQHJ020q1vYUYBhfxF0zb7IdlXL0z0UTxIMByPh
zJ2zaB0I801JJPWR1JQjG+Q9l7m2Srs5X+HD1gMVzStaUnDELVswl9yfyG7xQEtL
aQOUjNLCeJ7WTku7/RA+YwG+UQFBnzGb2hrgeOV0um0Jil/uSp2IA4k9ichr1zBl
Bio5szLmQ0ahAIKUUAJk3aFWBoqbaQpR3es/9HeLDAL7MWAOZbEIbZG0g88b24eL
o1/3tyRu2/JQOkuRRqJIGxrGY/jAJo04B3jn8OJhwNOruitvg/LKw5wPFdURCEnE
l3JNcAg35NfAhnGc6kVgc7H/dioKqh3RobO/Ksdmeg1ZWmyD2qwucTY1fWcfRCDk
EnWbPTiErYksvbcR6miOHLO5hCmzOZ0sDRslIT9r9bRerOUf44Y/0RF0/kU/MeMv
H+guKkxUAGi0oxeXUEnLq2EWrQYa9HO+qNsNgCX6eXWEErd4Yh4E2+/qmX+Lf4LR
ZhzkZ/nVfR60V2Cf/aKbgO7axtd+0GbRJRrVEM5T3Libampvthn08B6VgsWLXlw2
q4T8jZHt9IH2NS49loPY
=M9nn
-----END PGP SIGNATURE-----

--QjECd3nB8eIDliiUpVLt8iHxvllTkbbXD--
Pro-Linux
Happy New Year 2017
Neue Nachrichten
Werbung