{
  "threat_severity" : "Low",
  "public_date" : "2012-12-22T00:00:00Z",
  "bugzilla" : {
    "description" : "grep: Integer overflow leading to heap-based buffer-overflow when reading large lines",
    "id" : "889935",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=889935"
  },
  "cvss" : {
    "cvss_base_score" : "4.4",
    "cvss_scoring_vector" : "AV:L/AC:M/Au:N/C:P/I:P/A:P",
    "status" : "verified"
  },
  "cwe" : "CWE-190->CWE-122",
  "details" : [ "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.", "An integer overflow flaw, leading to a heap-based buffer overflow, was found in the way grep parsed large lines of data. An attacker able to trick a user into running grep on a specially crafted data file could use this flaw to crash grep or, potentially, execute arbitrary code with the privileges of the user running grep." ],
  "statement" : "This issue did not affect the version of grep as shipped with Red Hat Enterprise Linux 5.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "release_date" : "2015-07-20T00:00:00Z",
    "advisory" : "RHSA-2015:1447",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6",
    "package" : "grep-0:2.20-3.el6"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 5",
    "fix_state" : "Not affected",
    "package_name" : "grep",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "grep",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2012-5667\nhttps://nvd.nist.gov/vuln/detail/CVE-2012-5667" ],
  "name" : "CVE-2012-5667",
  "csaw" : false
}