原始 OSV JSON{
"id": "GHSA-pm9p-9926-w68m",
"aliases": [
"CVE-2016-10703"
],
"details": "`ecstatic`, a simple static file server middleware, is vulnerable to denial of service. If a payload with a large number of null bytes (`%00`) is provided by an attacker it can crash ecstatic by running it out of memory.\n\n\n[Results from the original advisory](https://www.checkmarx.com/advisories/denial-of-service-dos-vulnerability-in-ecstatic-npm-package/)\n\n```\nA payload of 22kB caused a lag of 1 second,\nA payload of 35kB caused a lag of 3 seconds,\nA payload of 86kB caused the server to crash\n```\n\n\n## Recommendation\n\nUpdate to version 2.0.0 or later.",
"summary": "Denial of Service in ecstatic",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.0"
}
]
}
],
"package": {
"name": "ecstatic",
"ecosystem": "npm"
}
}
],
"modified": "2021-09-16T18:15:09Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"published": "2017-12-28T22:52:47Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10703",
"type": "ADVISORY"
},
{
"url": "https://github.com/jfhbrook/node-ecstatic/commit/71ce93988ead4b561a8592168c72143907189f01",
"type": "WEB"
},
{
"url": "https://github.com/jfhbrook/node-ecstatic/commit/71ce93988ead4b561a8592168c72143907189f01#diff-b2b5a88fb51675f1aa1065c093dce1ee",
"type": "WEB"
},
{
"url": "https://advisory.checkmarx.net/advisory/CX-2016-4450",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-pm9p-9926-w68m",
"type": "ADVISORY"
},
{
"url": "https://github.com/jfhbrook/node-ecstatic",
"type": "PACKAGE"
},
{
"url": "https://www.checkmarx.com/advisories/denial-of-service-dos-vulnerability-in-ecstatic-npm-package",
"type": "WEB"
},
{
"url": "https://www.npmjs.com/advisories/553",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-400"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2017-12-14T19:29:00Z",
"github_reviewed_at": "2020-06-16T21:49:34Z"
}
}