Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1183651 - (CVE-2015-1345) CVE-2015-1345 grep: heap buffer overrun
CVE-2015-1345 grep: heap buffer overrun
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20150118,reported=2...
: Security
: 1185440 (view as bug list)
Depends On: 1183653 1194315 1194322
Blocks: 1183652 1185168 1193283 1210268
  Show dependency treegraph
 
Reported: 2015-01-19 06:56 EST by Vasyl Kaigorodov
Modified: 2015-11-20 00:58 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A heap-based buffer overflow flaw was found in the way grep processed certain pattern and text combinations. An attacker able to trick a user into running grep on specially crafted input could use this flaw to crash grep or, potentially, read from uninitialized memory.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-11-20 00:58:41 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1447 normal SHIPPED_LIVE Low: grep security, bug fix, and enhancement update 2015-07-20 14:43:55 EDT
Red Hat Product Errata RHSA-2015:2111 normal SHIPPED_LIVE Low: grep security and bug fix update 2015-11-19 03:18:28 EST

  None (edit)
Description Vasyl Kaigorodov 2015-01-19 06:56:15 EST
It was reported [1] that invoking grep with a carefully crafted combination of input and regexp can cause a segfault and/or reading from uninitialized memory.

Upstream bugreport: http://bugs.gnu.org/19563
Upstream fix: http://git.sv.gnu.org/cgit/grep.git/commit/?id=83a95bd8c8561875b948cadd417c653dbe7ef2e2

[1]: http://seclists.org/oss-sec/2015/q1/179
Comment 1 Vasyl Kaigorodov 2015-01-19 06:57:34 EST
Created grep tracking bugs for this issue:

Affects: fedora-all [bug 1183653]
Comment 2 Yaakov Selkowitz 2015-01-23 13:50:22 EST
This has been assigned CVE-2015-1345[1].

[1] http://seclists.org/oss-sec/2015/q1/221
Comment 3 Kurt Seifried 2015-01-23 15:14:47 EST
*** Bug 1185440 has been marked as a duplicate of this bug. ***
Comment 4 Fedora Update System 2015-01-25 21:39:18 EST
grep-2.21-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 6 Vasyl Kaigorodov 2015-07-14 08:15:29 EDT
Statement:

This issue did not affect versions of grep as shipped in Red Hat Enterprise Linux 5.
Comment 7 errata-xmlrpc 2015-07-22 02:18:17 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2015:1447 https://rhn.redhat.com/errata/RHSA-2015-1447.html
Comment 9 errata-xmlrpc 2015-11-19 01:56:12 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:2111 https://rhn.redhat.com/errata/RHSA-2015-2111.html

Note You need to log in before you can comment on or make changes to this bug.