原始 OSV JSON
{
"id": "GHSA-jxqq-cqm6-pfq9",
"aliases": [
"CVE-2017-16117"
],
"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.",
"summary": "Regular Expression Denial of Service in slug",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.9.2"
}
]
}
],
"package": {
"name": "slug",
"ecosystem": "npm"
},
"database_specific": {
"last_known_affected_version_range": "<= 0.9.1"
}
}
],
"modified": "2020-08-31T18:26:54Z",
"severity": [],
"published": "2018-07-24T20:06:45Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16117",
"type": "ADVISORY"
},
{
"url": "https://github.com/dodo/node-slug/issues/82",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-jxqq-cqm6-pfq9",
"type": "ADVISORY"
},
{
"url": "https://www.npmjs.com/advisories/537",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-400"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-06-16T21:44:29Z"
}
}