{
  "schema_version": "1.4.0",
  "id": "GHSA-7322-9mx6-5j2m",
  "modified": "2023-01-23T20:45:35Z",
  "published": "2018-08-15T20:04:30Z",
  "aliases": [
    "CVE-2015-5147"
  ],
  "summary": "redcarpet Buffer Overflow vulnerability",
  "details": "Stack-based buffer overflow in the `header_anchor` function in the HTML renderer in Redcarpet before 3.3.2 allows attackers to cause a denial of service (crash) and possibly execute arbitrary code via unspecified vectors.",
  "severity": [],
  "affected": [
    {
      "package": {
        "ecosystem": "RubyGems",
        "name": "redcarpet"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "3.3.0"
            },
            {
              "fixed": "3.3.2"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-5147"
    },
    {
      "type": "WEB",
      "url": "https://github.com/vmg/redcarpet/commit/2cee777c1e5babe8a1e2683d31ea75cc4afe55fb"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/vmg/redcarpet"
    },
    {
      "type": "WEB",
      "url": "https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20150711061256/http://www.securityfocus.com/bid/75508"
    },
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2015/06/29/3"
    },
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2015/06/30/10"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-119"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:21:00Z",
    "nvd_published_at": null
  }
}