Input validation error in grep - CVE-2012-5667

 

Input validation error in grep - CVE-2012-5667

Published: January 3, 2013 / Updated: August 11, 2020


Vulnerability identifier: #VU43215
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2012-5667
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: GNU
Affected software:
grep

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

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.


How to mitigate CVE-2012-5667

Install update from vendor's website.

Sources