{
  "schema_version": "1.4.0",
  "id": "GHSA-jxqq-cqm6-pfq9",
  "modified": "2020-08-31T18:26:54Z",
  "published": "2018-07-24T20:06:45Z",
  "aliases": [
    "CVE-2017-16117"
  ],
  "summary": "Regular Expression Denial of Service in slug",
  "details": "Affected versions of `slug` are vulnerable to a regular expression denial of service when parsing untrusted user input.\n\nThe issue is low severity, as it takes 50,000 characters to cause the event loop to block for 2 seconds,\n\nAbout 50k characters can block the event loop for 2 seconds.\n\n\n## Recommendation\n\nUpdate to version 0.9.2 or later.",
  "severity": [],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "slug"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.9.2"
            }
          ]
        }
      ],
      "database_specific": {
        "last_known_affected_version_range": "<= 0.9.1"
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16117"
    },
    {
      "type": "WEB",
      "url": "https://github.com/dodo/node-slug/issues/82"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-jxqq-cqm6-pfq9"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/537"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-400"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:44:29Z",
    "nvd_published_at": null
  }
}