Vulnerabilities in pkg:npm/ecstatic
PACKAGECVE-2015-9242 is a HIGH denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Ecstatic libraries in the npm ecosystem. The issue involves denial of service in ecstatic. Remediation is available by upgrading affected packages to version 1.4.0.
pkg:npm/ecstatic
Vulnerability advisories affecting package pkg:npm/ecstatic. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-vwjc-q9px-r9vq | CVE-2015-9242 | HIGH | Denial of Service in ecstatic |
| GHSA-pm9p-9926-w68m | CVE-2016-10703 | HIGH | Denial of Service in ecstatic |
| GHSA-jc84-3g44-wf2q | CVE-2019-10775 | MODERATE | Denial of Service in ecstatic |
| GHSA-9q64-mpxx-87fg | - | HIGH | Open Redirect in ecstatic |
| GHSA-x4rf-4mqf-cm8w | - | MODERATE | Open Redirect in ecstatic |
CVE-2015-9242 at a Glance
How to Fix CVE-2015-9242
To remediate this vulnerability, upgrade all affected Ecstatic dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install ecstatic@1.4.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls ecstatic
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2015-9242, inspect your project dependencies using npm:
npm ls ecstatic
Analyze the terminal output to locate any version of Ecstatic in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.4.0), your application is affected.
Note: The npm ls ecstatic command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Ecstatic, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2015-9242 Affected Ecstatic Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ecstatic
|
npm |
< 1.4.0
|
1.4.0
|
References
Frequently Asked Questions
What is CVE-2015-9242?
Which Ecstatic versions are affected?
What version fixes CVE-2015-9242?
Is ecstatic affected?
What CWE is associated with CVE-2015-9242?
How can I check npm dependencies for CVE-2015-9242?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vwjc-q9px-r9vq",
"modified" : "2023-05-22T15:35:11Z",
"published" : "2018-06-07T19:43:11Z",
"aliases" : [ "CVE-2015-9242" ],
"summary" : "Denial of Service in ecstatic",
"details" : "Versions of `ecstatic` prior to 1.4.0 are affected by a denial of service vulnerability when certain input strings are sent via the `Last-Modified` or `If-Modified-Since` headers.\n\nParsing certain inputs with `new Date()` or `Date.parse()` cases v8 to crash. As ecstatic passes the value of the affected headers into one of these functions, sending certain inputs via one of the headers will cause the server to crash.\n\n\n\n## Recommendation\n\nUpdate to version 1.4.0 or later.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "ecstatic"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.4.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-9242"
}, {
"type" : "WEB",
"url" : "https://github.com/jfhbrook/node-ecstatic/pull/179"
}, {
"type" : "WEB",
"url" : "https://github.com/jfhbrook/node-ecstatic/commit/0d0a2779ac5e5843d3745920212dfac9b69440e2"
}, {
"type" : "WEB",
"url" : "https://bugs.chromium.org/p/v8/issues/detail?id=4640"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jfhbrook/node-ecstatic"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:58:32Z",
"nvd_published_at" : null
}
}