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

Medium Nessus Plugin ID 73220


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


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.


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

See Also

Plugin Details

Severity: Medium

ID: 73220

File Name: gentoo_GLSA-201403-07.nasl

Version: $Revision: 1.4 $

Type: local

Published: 2014/03/27

Modified: 2016/05/12

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 4.4

Temporal Score: 3.6

Vector: CVSS2#AV:L/AC:M/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:F/RL:OF/RC:ND

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:grep, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2014/03/26

Reference Information

CVE: CVE-2012-5667

BID: 57033

OSVDB: 88814

GLSA: 201403-07