CVE Database

CVE-2012-5667

Impact: Low
Public: 2012-12-22
CWE: CWE-190->CWE-122
Bugzilla: 889935: CVE-2012-5667 grep: Integer overflow leading to heap-based buffer-overflow when reading large lines

Details

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.

Find out more about CVE-2012-5667 from the MITRE CVE dictionary and NIST NVD.

Statement

This issue did not affect the version of grep as shipped with Red Hat Enterprise Linux 5. This issue affects the version of grep as shipped with Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this issue as having low security impact, a future update may address this flaw.

CVSS v2 metrics

NOTE: The following CVSS v2 metrics and score provided are preliminary and subject to review.

Base Score: 4.4
Base Metrics: AV:L/AC:M/Au:N/C:P/I:P/A:P
Access Vector: Local
Access Complexity: Medium
Authentication: None
Confidentiality Impact: Partial
Integrity Impact: Partial
Availability Impact: Partial

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat security errata

Platform Errata Release Date

External References

This page is generated automatically and has not been checked for errors or omissions.

For clarification or corrections please contact the Red Hat Security Response Team.