Executive Summary



This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Summary
Title grep: User-assisted execution of arbitrary code
Informations
Name GLSA-201403-07 First vendor Publication 2014-03-26
Vendor Gentoo Last vendor Modification 2014-03-26
Severity (Vendor) Normal 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:L/AC:M/Au:N/C:P/I:P/A:P)
Cvss Base Score 4.4 Attack Range Local
Cvss Impact Score 6.4 Attack Complexity Medium
Cvss Expoit Score 3.4 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

A vulnerability in grep could result in execution of arbitrary code or Denial of Service.

Background

grep is the GNU regular expression matcher.

Description

An integer overflow flaw has been discovered in grep.

Impact

An attacker could entice a user to run grep on a specially crafted file, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All grep users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/grep-2.12"

References

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

Availability

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

http://security.gentoo.org/glsa/glsa-201403-07.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-201403-07.xml

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-189 Numeric Errors (CWE/SANS Top 25)

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 17

ExploitDB Exploits

id Description
2012-12-31 Grep < 2.11 Integer Overflow Crash PoC

Nessus® Vulnerability Scanner

Date Description
2017-06-29 Name : The remote device is missing a vendor-supplied security patch.
File : f5_bigip_SOL69662152.nasl - Type : ACT_GATHER_INFO
2015-09-23 Name : The remote Amazon Linux AMI host is missing a security update.
File : ala_ALAS-2015-598.nasl - Type : ACT_GATHER_INFO
2015-08-04 Name : The remote Scientific Linux host is missing one or more security updates.
File : sl_20150722_grep_on_SL6_x.nasl - Type : ACT_GATHER_INFO
2015-07-30 Name : The remote Oracle Linux host is missing a security update.
File : oraclelinux_ELSA-2015-1447.nasl - Type : ACT_GATHER_INFO
2015-07-28 Name : The remote CentOS host is missing a security update.
File : centos_RHSA-2015-1447.nasl - Type : ACT_GATHER_INFO
2015-07-23 Name : The remote Red Hat host is missing one or more security updates.
File : redhat-RHSA-2015-1447.nasl - Type : ACT_GATHER_INFO
2015-01-19 Name : The remote Solaris system is missing a security patch for third-party software.
File : solaris11_grep_20131015.nasl - Type : ACT_GATHER_INFO
2014-03-27 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201403-07.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
1
Date Informations
2014-03-28 13:22:12
  • Multiple Updates
2014-03-26 17:19:04
  • First insertion