Executive Summary

Summary
Title flex: Potential insecure code generation
Informations
Name GLSA-201701-31 First vendor Publication 2017-01-11
Vendor Gentoo Last vendor Modification 2017-01-11
Severity (Vendor) N/A Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Cvss Base Score 7.5 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity Low
Cvss Expoit Score 10 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

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).

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

Original Source

Url : http://security.gentoo.org/glsa/glsa-201701-31.xml

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-119 Failure to Constrain Operations within the Bounds of a Memory Buffer

CPE : Common Platform Enumeration

TypeDescriptionCount
Os 1

Nessus® Vulnerability Scanner

Date Description
2018-02-20 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201802-03.nasl - Type : ACT_GATHER_INFO
2017-05-31 Name : The remote SUSE host is missing one or more security updates.
File : suse_SU-2017-1442-1.nasl - Type : ACT_GATHER_INFO
2017-04-24 Name : The remote Windows host contains a web browser that is affected by multiple v...
File : mozilla_firefox_53_0.nasl - Type : ACT_GATHER_INFO
2017-04-24 Name : The remote Windows host contains a web browser that is affected by multiple v...
File : mozilla_firefox_52_1_esr.nasl - Type : ACT_GATHER_INFO
2017-04-24 Name : The remote Windows host contains a web browser that is affected by multiple v...
File : mozilla_firefox_45_9_esr.nasl - Type : ACT_GATHER_INFO
2017-04-24 Name : The remote macOS or Mac OS X host contains a web browser that is affected by ...
File : macosx_firefox_53_0.nasl - Type : ACT_GATHER_INFO
2017-04-24 Name : The remote macOS or Mac OS X host contains a web browser that is affected by ...
File : macosx_firefox_52_1_esr.nasl - Type : ACT_GATHER_INFO
2017-04-24 Name : The remote macOS or Mac OS X host contains a web browser that is affected by ...
File : macosx_firefox_45_9_esr.nasl - Type : ACT_GATHER_INFO
2017-02-02 Name : The remote openSUSE host is missing a security update.
File : openSUSE-2017-189.nasl - Type : ACT_GATHER_INFO
2017-01-12 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201701-31.nasl - Type : ACT_GATHER_INFO
2016-12-12 Name : The remote Fedora host is missing a security update.
File : fedora_2016-8d79ade826.nasl - Type : ACT_GATHER_INFO
2016-10-05 Name : The remote openSUSE host is missing a security update.
File : openSUSE-2016-1155.nasl - Type : ACT_GATHER_INFO
2016-09-28 Name : The remote SUSE host is missing one or more security updates.
File : suse_SU-2016-2397-1.nasl - Type : ACT_GATHER_INFO
2016-09-26 Name : The remote openSUSE host is missing a security update.
File : openSUSE-2016-1120.nasl - Type : ACT_GATHER_INFO
2016-09-08 Name : The remote openSUSE host is missing a security update.
File : openSUSE-2016-1057.nasl - Type : ACT_GATHER_INFO
2016-09-02 Name : The remote SUSE host is missing one or more security updates.
File : suse_SU-2016-2195-1.nasl - Type : ACT_GATHER_INFO
2016-09-02 Name : The remote SUSE host is missing one or more security updates.
File : suse_SU-2016-2131-1.nasl - Type : ACT_GATHER_INFO
2016-09-02 Name : The remote SUSE host is missing one or more security updates.
File : suse_SU-2016-2061-1.nasl - Type : ACT_GATHER_INFO
2016-08-30 Name : The remote openSUSE host is missing a security update.
File : openSUSE-2016-1028.nasl - Type : ACT_GATHER_INFO
2016-08-29 Name : The remote openSUSE host is missing a security update.
File : openSUSE-2016-1019.nasl - Type : ACT_GATHER_INFO
2016-08-26 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-3653.nasl - Type : ACT_GATHER_INFO
2016-08-09 Name : The remote Fedora host is missing a security update.
File : fedora_2016-c9ad9582f7.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
1
Date Informations
2017-01-13 13:24:47
  • Multiple Updates
2017-01-11 17:22:57
  • First insertion