Gentoo Logo

grep: User-assisted execution of arbitrary code

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201403-07 / grep
Release Date March 26, 2014
Latest Revision March 26, 2014: 1
Impact normal
Exploitable local, remote
Package Vulnerable versions Unaffected versions Architecture(s)
sys-apps/grep < 2.12 >= 2.12 All supported architectures

Related bugreports: #448246

Synopsis

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

2.  Impact Information

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All grep users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=sys-apps/grep-2.12"

4.  References



Print

Page updated March 26, 2014

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.