grep CVE-2012-5667 Remote Integer Overflow Vulnerability
BID:57033
Info
grep CVE-2012-5667 Remote Integer Overflow Vulnerability
| Bugtraq ID: | 57033 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-2012-5667 |
| Remote: | Yes |
| Local: | No |
| Published: | Dec 17 2012 12:00AM |
| Updated: | Jul 05 2016 09:22PM |
| Credit: | Joshua Rogers |
| Vulnerable: |
Sun Solaris 9 Red Hat Enterprise Linux Workstation 6 Red Hat Enterprise Linux Server 6 Red Hat Enterprise Linux HPC Node 6 Red Hat Enterprise Linux Desktop 6 Gentoo Linux Avaya 96x1 IP Deskphone 6.2 Avaya 96x1 IP Deskphone 6 |
| Not Vulnerable: | |
Discussion
grep CVE-2012-5667 Remote Integer Overflow Vulnerability
grep is prone to a remote integer-overflow vulnerability.
Successful attacks will allow attackers to execute arbitrary code within the context of the application. Failed exploit attempts will result in a denial-of-service condition.
grep versions prior to 2.11 are vulnerable.
grep is prone to a remote integer-overflow vulnerability.
Successful attacks will allow attackers to execute arbitrary code within the context of the application. Failed exploit attempts will result in a denial-of-service condition.
grep versions prior to 2.11 are vulnerable.
Exploit / POC
grep CVE-2012-5667 Remote Integer Overflow Vulnerability
The following proof-of-concept is available:
perl -e 'print "x"x(2**31)' | grep x > /dev/null
The following proof-of-concept is available:
perl -e 'print "x"x(2**31)' | grep x > /dev/null
Solution / Fix
grep CVE-2012-5667 Remote Integer Overflow Vulnerability
Solution:
Vendor updates are available. Please see the references for more information.
Solution:
Vendor updates are available. Please see the references for more information.