{
  "schema_version": "1.4.0",
  "id": "GHSA-q75g-2496-mxpp",
  "modified": "2020-08-31T18:26:32Z",
  "published": "2018-07-24T20:11:13Z",
  "aliases": [
    "CVE-2017-16113"
  ],
  "summary": "Regular Expression Denial of Service in parsejson",
  "details": "Affected versions of `parsejson` are vulnerable to a regular expression denial of service when parsing untrusted user input.\n\n\n## Recommendation\n\nThe `parsejson` package has not been functionally updated since it was initially released.\n\nAdditionally, it provides functionality which is natively included in Node.js, and therefore the native `JSON.parse()` should be used, for both performance and security reasons.",
  "severity": [],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "parsejson"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0.0.3"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16113"
    },
    {
      "type": "WEB",
      "url": "https://github.com/get/parsejson/issues/4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-q75g-2496-mxpp"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/528"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-400"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:51:20Z",
    "nvd_published_at": null
  }
}