Vulnerability in GNU Grep
CVE-2012-5667
Multiple integer overflows in GNU Grep before 2.11 might allow context-dependent attackers to execute arbitrary code via vectors involving a long input line that triggers a heap-based buffer overflow.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.4 (Medium). Vector: AV:L/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.010, 64.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNU Grep — versions 2.2, 2.3, 2.4
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (mudongliang/LinuxFlaw, oneoy/cve-). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugs.launchpad.net/ubuntu/+source/grep/+bug/1091473
- www.securityfocus.com/bid/57033 (vdb-entry)
- git.sv.gnu.org/gitweb/
- git.savannah.gnu.org/cgit/grep.git/commit/ (Patch)
- bugzilla.redhat.com/show_bug.cgi
- RHSA-2015:1447 (vendor-advisory)
- [bug-grep] 20121217 Re: Exploit in grep.. (mailing-list)
- git.savannah.gnu.org/cgit/grep.git/commit/ (Patch)
- [oss-security] 20121221 Re: CVE Request: grep (mailing-list)