REDHAT-BUG-1183651: Low severity GNU Grep vulnerability
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
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
grepto a version that resolves this vulnerability.Patch 83a95bd8c8561875b948cadd417c653dbe7ef2e2
Event History
Frequently Asked Questions
What conditions are required to trigger the issue?
An attacker or user must invoke grep with a carefully crafted combination of input and regular expression. The reported outcomes are a segmentation fault or a read from uninitialized memory.
What is the likely operational impact?
A successful trigger can cause grep to crash, resulting in a denial of service for workflows or services that process attacker-controlled input or regular expressions. The report also identifies possible reads from uninitialized memory.
How can I determine whether my installation includes the upstream fix?
Compare the source or package patch set against upstream commit 83a95bd8c8561875b948cadd417c653dbe7ef2e2. The provided data does not identify affected or fixed package versions.