Vulnerabilities in pkg:npm/ecstatic

PACKAGE
Advisory Identifier: GHSA-vwjc-q9px-r9vq
Advisory Summary

CVE-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.

5 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/ecstatic

5 Known Advisory Record(s)

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

CVE Identifier CVE-2015-9242
GHSA Identifier GHSA-vwjc-q9px-r9vq
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Ecstatic
Package Ecosystem npm
Published Date
Last Updated

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.

ecstatic fixed: 1.4.0
npm install ecstatic@1.4.0
Verify Direct and Transitive Dependencies

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

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. Parsing 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. ## Recommendation Update to version 1.4.0 or later.

CVE-2015-9242 Affected Ecstatic Versions

1 component(s)
Fixed Versions:
1.4.0
Product / Package Ecosystem Affected Versions Fixed Version
ecstatic
npm
< 1.4.0
1.4.0

References

Frequently Asked Questions

What is CVE-2015-9242?
CVE-2015-9242 is a security vulnerability in Ecstatic involving Denial of Service in ecstatic under CWE-400: Uncontrolled Resource Consumption.
Which Ecstatic versions are affected?
Affected versions include releases prior to 1.4.0 across affected packages: ecstatic.
What version fixes CVE-2015-9242?
Upgrading to 1.4.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ecstatic affected?
Yes, ecstatic is affected in releases prior to 1.4.0. Upgrade your dependency to 1.4.0 or later.
What CWE is associated with CVE-2015-9242?
CVE-2015-9242 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check npm dependencies for CVE-2015-9242?
Run the dependency tree command: 'npm ls ecstatic'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}