GLSA-201403-07 : grep: User-assisted execution of arbitrary code

This script is Copyright (C) 2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-201403-07
(grep: User-assisted execution of arbitrary code)

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.

See also :

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

Solution :

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

Risk factor :

Medium / CVSS Base Score : 4.4
(CVSS2#AV:L/AC:M/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 3.4
(CVSS2#E:POC/RL:OF/RC:C)
Public Exploit Available : true

Family: Gentoo Local Security Checks

Nessus Plugin ID: 73220 ()

Bugtraq ID: 57033

CVE ID: CVE-2012-5667