{"id":"GHSA-jxqq-cqm6-pfq9","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.","aliases":["CVE-2017-16117"],"modified":"2023-11-08T03:59:05.830201Z","published":"2018-07-24T20:06:45Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-06-16T21:44:29Z","nvd_published_at":null,"cwe_ids":["CWE-400"],"severity":"MODERATE"},"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"}],"affected":[{"package":{"name":"slug","ecosystem":"npm","purl":"pkg:npm/slug"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.2"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 0.9.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-jxqq-cqm6-pfq9/GHSA-jxqq-cqm6-pfq9.json"}}],"schema_version":"1.9.0"}