{
  "schema_version": "1.4.0",
  "id": "GHSA-x5pg-88wf-qq4p",
  "modified": "2023-09-07T22:11:27Z",
  "published": "2018-07-24T20:10:52Z",
  "aliases": [
    "CVE-2017-16114"
  ],
  "summary": "Regular Expression Denial of Service in marked",
  "details": "Affected versions of `marked` are vulnerable to a regular expression denial of service. \n\nThe amplification in this vulnerability is significant, with 1,000 characters resulting in the event loop being blocked for around 6 seconds.\n\n\n## Recommendation\n\nUpdate to version 0.3.9 or later.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "marked"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.3.9"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16114"
    },
    {
      "type": "WEB",
      "url": "https://github.com/chjj/marked/issues/937"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-x5pg-88wf-qq4p"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/531"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-400"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T22:02:12Z",
    "nvd_published_at": null
  }
}