Integer Overflow or Wraparound Affecting grep package, versions <0:2.20-3.el6


Severity

Recommended
low

Based on CentOS security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.64% (80th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS6-GREP-2118425
  • published26 Jul 2021
  • disclosed22 Dec 2012

Introduced: 22 Dec 2012

CVE-2012-5667  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Centos:6 grep to version 0:2.20-3.el6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grep package and not the grep package as distributed by Centos. See How to fix? for Centos:6 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1