{"id":"GHSA-q75g-2496-mxpp","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.","aliases":["CVE-2017-16113"],"modified":"2023-11-08T03:59:05.586673Z","published":"2018-07-24T20:11:13Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:51:20Z","nvd_published_at":null,"cwe_ids":["CWE-400"]},"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"}],"affected":[{"package":{"name":"parsejson","ecosystem":"npm","purl":"pkg:npm/parsejson"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-q75g-2496-mxpp/GHSA-q75g-2496-mxpp.json"}}],"schema_version":"1.9.0"}