CVE-2012-5667 (GCVE-0-2012-5667)
Vulnerability from cvelistv5
Published
2013-01-03 11:00
Modified
2024-08-06 21:14
Severity ?
CWE
  • n/a
Summary
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.
References
secalert@redhat.com http://git.savannah.gnu.org/cgit/grep.git/commit/?id=8fcf61523644df42e1905c81bed26838e0b04f91 Patch
secalert@redhat.com http://git.savannah.gnu.org/cgit/grep.git/commit/?id=cbbc1a45b9f843c811905c97c90a5d31f8e6c189 Patch
secalert@redhat.com http://git.sv.gnu.org/gitweb/?p=grep.git%3Ba=shortlog%3Bh=v2.11
secalert@redhat.com http://lists.gnu.org/archive/html/bug-grep/2012-12/msg00004.html
secalert@redhat.com http://openwall.com/lists/oss-security/2012/12/22/6
secalert@redhat.com http://rhn.redhat.com/errata/RHSA-2015-1447.html
secalert@redhat.com http://www.securityfocus.com/bid/57033
secalert@redhat.com https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1091473
secalert@redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=889935
af854a3a-2127-422b-91ae-364da2661108 http://git.savannah.gnu.org/cgit/grep.git/commit/?id=8fcf61523644df42e1905c81bed26838e0b04f91 Patch
af854a3a-2127-422b-91ae-364da2661108 http://git.savannah.gnu.org/cgit/grep.git/commit/?id=cbbc1a45b9f843c811905c97c90a5d31f8e6c189 Patch
af854a3a-2127-422b-91ae-364da2661108 http://git.sv.gnu.org/gitweb/?p=grep.git%3Ba=shortlog%3Bh=v2.11
af854a3a-2127-422b-91ae-364da2661108 http://lists.gnu.org/archive/html/bug-grep/2012-12/msg00004.html
af854a3a-2127-422b-91ae-364da2661108 http://openwall.com/lists/oss-security/2012/12/22/6
af854a3a-2127-422b-91ae-364da2661108 http://rhn.redhat.com/errata/RHSA-2015-1447.html
af854a3a-2127-422b-91ae-364da2661108 http://www.securityfocus.com/bid/57033
af854a3a-2127-422b-91ae-364da2661108 https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1091473
af854a3a-2127-422b-91ae-364da2661108 https://bugzilla.redhat.com/show_bug.cgi?id=889935
Impacted products
Vendor Product Version
n/a n/a Version: n/a
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T21:14:16.359Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1091473"
          },
          {
            "name": "57033",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/57033"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://git.sv.gnu.org/gitweb/?p=grep.git%3Ba=shortlog%3Bh=v2.11"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://git.savannah.gnu.org/cgit/grep.git/commit/?id=8fcf61523644df42e1905c81bed26838e0b04f91"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=889935"
          },
          {
            "name": "RHSA-2015:1447",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2015-1447.html"
          },
          {
            "name": "[bug-grep] 20121217 Re: Exploit in grep..",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://lists.gnu.org/archive/html/bug-grep/2012-12/msg00004.html"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://git.savannah.gnu.org/cgit/grep.git/commit/?id=cbbc1a45b9f843c811905c97c90a5d31f8e6c189"
          },
          {
            "name": "[oss-security] 20121221 Re: CVE Request: grep",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://openwall.com/lists/oss-security/2012/12/22/6"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2012-03-02T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2016-12-22T18:57:01",
        "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "shortName": "redhat"
      },
      "references": [
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1091473"
        },
        {
          "name": "57033",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/57033"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://git.sv.gnu.org/gitweb/?p=grep.git%3Ba=shortlog%3Bh=v2.11"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://git.savannah.gnu.org/cgit/grep.git/commit/?id=8fcf61523644df42e1905c81bed26838e0b04f91"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=889935"
        },
        {
          "name": "RHSA-2015:1447",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://rhn.redhat.com/errata/RHSA-2015-1447.html"
        },
        {
          "name": "[bug-grep] 20121217 Re: Exploit in grep..",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://lists.gnu.org/archive/html/bug-grep/2012-12/msg00004.html"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://git.savannah.gnu.org/cgit/grep.git/commit/?id=cbbc1a45b9f843c811905c97c90a5d31f8e6c189"
        },
        {
          "name": "[oss-security] 20121221 Re: CVE Request: grep",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://openwall.com/lists/oss-security/2012/12/22/6"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "secalert@redhat.com",
          "ID": "CVE-2012-5667",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1091473",
              "refsource": "CONFIRM",
              "url": "https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1091473"
            },
            {
              "name": "57033",
              "refsource": "BID",
              "url": "http://www.securityfocus.com/bid/57033"
            },
            {
              "name": "http://git.sv.gnu.org/gitweb/?p=grep.git;a=shortlog;h=v2.11",
              "refsource": "CONFIRM",
              "url": "http://git.sv.gnu.org/gitweb/?p=grep.git;a=shortlog;h=v2.11"
            },
            {
              "name": "http://git.savannah.gnu.org/cgit/grep.git/commit/?id=8fcf61523644df42e1905c81bed26838e0b04f91",
              "refsource": "CONFIRM",
              "url": "http://git.savannah.gnu.org/cgit/grep.git/commit/?id=8fcf61523644df42e1905c81bed26838e0b04f91"
            },
            {
              "name": "https://bugzilla.redhat.com/show_bug.cgi?id=889935",
              "refsource": "CONFIRM",
              "url": "https://bugzilla.redhat.com/show_bug.cgi?id=889935"
            },
            {
              "name": "RHSA-2015:1447",
              "refsource": "REDHAT",
              "url": "http://rhn.redhat.com/errata/RHSA-2015-1447.html"
            },
            {
              "name": "[bug-grep] 20121217 Re: Exploit in grep..",
              "refsource": "MLIST",
              "url": "http://lists.gnu.org/archive/html/bug-grep/2012-12/msg00004.html"
            },
            {
              "name": "http://git.savannah.gnu.org/cgit/grep.git/commit/?id=cbbc1a45b9f843c811905c97c90a5d31f8e6c189",
              "refsource": "CONFIRM",
              "url": "http://git.savannah.gnu.org/cgit/grep.git/commit/?id=cbbc1a45b9f843c811905c97c90a5d31f8e6c189"
            },
            {
              "name": "[oss-security] 20121221 Re: CVE Request: grep",
              "refsource": "MLIST",
              "url": "http://openwall.com/lists/oss-security/2012/12/22/6"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
    "assignerShortName": "redhat",
    "cveId": "CVE-2012-5667",
    "datePublished": "2013-01-03T11:00:00",
    "dateReserved": "2012-10-24T00:00:00",
    "dateUpdated": "2024-08-06T21:14:16.359Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2012-5667\",\"sourceIdentifier\":\"secalert@redhat.com\",\"published\":\"2013-01-03T11:54:25.417\",\"lastModified\":\"2025-04-11T00:51:21.963\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\"},{\"lang\":\"es\",\"value\":\"M\u00faltiples desbordamientos de enteros en GNU Grep antes de v2.11 podr\u00eda permitir a atacantes locales o remotos ejecutar c\u00f3digo arbitrario a trav\u00e9s de vectores relacionados con una larga l\u00ednea de entrada que dispara un desbordamiento de b\u00fafer basado en memoria din\u00e1mica.\"}],\"metrics\":{\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:L/AC:M/Au:N/C:P/I:P/A:P\",\"baseScore\":4.4,\"accessVector\":\"LOCAL\",\"accessComplexity\":\"MEDIUM\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\"},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":3.4,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":true}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-189\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:grep:*:*:*:*:*:*:*:*\",\"versionEndIncluding\":\"2.10\",\"matchCriteriaId\":\"9AB79442-59A9-4E47-8F4E-5A55F01C0EC4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:grep:2.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"5B4C7727-C33E-48A6-86ED-5089AD66C287\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:grep:2.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"563A6D81-32C4-4B80-96D3-1AD7BBAFC335\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:grep:2.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"FF9C9855-2E69-4191-B653-AA413FBEB60F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:grep:2.4.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"CBCFE8E0-6319-4E5A-8FE7-96FD689BAA0F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:grep:2.4.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"CB4D9B0A-D171-4DB6-8F40-2F04B0604EBE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:grep:2.5:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"E2CF8DD8-C3D4-440E-82B0-F7209EE04741\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:grep:2.5.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"FFE2F6E3-63A2-4A8B-9046-9353E81720C9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:grep:2.5.1:a:*:*:*:*:*:*\",\"matchCriteriaId\":\"8754E619-694E-4EC8-AD85-E4781CCC68BB\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:grep:2.5.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"7E709A76-5882-4E33-8DBE-9C9C07DC1F9E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:grep:2.5.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"46E1072B-1506-4650-9983-96E2044C29FE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:grep:2.6:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"85739D66-5EBE-46FB-80FA-13C2295319C4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:grep:2.6.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"024E63FA-8AF0-4BAB-8857-8212629A937E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:grep:2.6.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"6F539435-3232-414F-B4C7-690BDC96D33E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:grep:2.6.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"34051D6D-BF77-4494-8C25-76F6D906A35D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:grep:2.7:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"BDAC2DD8-0E69-4B30-8292-C9AD74823664\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:grep:2.8:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"6F80043A-BECF-4C94-8BE3-D966873D8053\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:grep:2.9:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"0DE47159-054C-47C3-AA62-421967F9DF42\"}]}]}],\"references\":[{\"url\":\"http://git.savannah.gnu.org/cgit/grep.git/commit/?id=8fcf61523644df42e1905c81bed26838e0b04f91\",\"source\":\"secalert@redhat.com\",\"tags\":[\"Patch\"]},{\"url\":\"http://git.savannah.gnu.org/cgit/grep.git/commit/?id=cbbc1a45b9f843c811905c97c90a5d31f8e6c189\",\"source\":\"secalert@redhat.com\",\"tags\":[\"Patch\"]},{\"url\":\"http://git.sv.gnu.org/gitweb/?p=grep.git%3Ba=shortlog%3Bh=v2.11\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://lists.gnu.org/archive/html/bug-grep/2012-12/msg00004.html\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://openwall.com/lists/oss-security/2012/12/22/6\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://rhn.redhat.com/errata/RHSA-2015-1447.html\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://www.securityfocus.com/bid/57033\",\"source\":\"secalert@redhat.com\"},{\"url\":\"https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1091473\",\"source\":\"secalert@redhat.com\"},{\"url\":\"https://bugzilla.redhat.com/show_bug.cgi?id=889935\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://git.savannah.gnu.org/cgit/grep.git/commit/?id=8fcf61523644df42e1905c81bed26838e0b04f91\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"http://git.savannah.gnu.org/cgit/grep.git/commit/?id=cbbc1a45b9f843c811905c97c90a5d31f8e6c189\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"http://git.sv.gnu.org/gitweb/?p=grep.git%3Ba=shortlog%3Bh=v2.11\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://lists.gnu.org/archive/html/bug-grep/2012-12/msg00004.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://openwall.com/lists/oss-security/2012/12/22/6\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://rhn.redhat.com/errata/RHSA-2015-1447.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.securityfocus.com/bid/57033\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1091473\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://bugzilla.redhat.com/show_bug.cgi?id=889935\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…