CVE-2015-9242: Denial of Service in ecstatic

ecstatic Updated 02 Oct 2025

Summary

07/06/2018
Yes i
High
Not published

CVE-2015-9242: Denial of Service in ecstatic. Affects ecstatic versions < 1.4.0. Fixed in 1.4.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The ecstatic package is an npm package used for serving static files in Node.js applications. It provides a simple and efficient way to serve static content such as HTML, CSS, JavaScript, and images. However, versions prior to 1.4.0 are vulnerable to a denial of service attack when certain input strings are sent via the Last-Modified or If-Modified-Since headers.

Vulnerability Detail

The vulnerability in ecstatic arises from the way it handles certain inputs in the Last-Modified or If-Modified-Since headers. When parsing these inputs with new Date() or Date.parse(), it triggers a crash in the v8 engine. As a result, an attacker can send specially crafted input via these headers to cause the server to crash, leading to a denial of service.

How To Fix

Latest published version: 4.1.4 as of 22 Oct 2026

npm install ecstatic@4.1.4

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.4.0

This is the first release that contains the fix.

npm install ecstatic@1.4.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The ecstatic package prior to version 1.4.0 is vulnerable to a denial of service attack. To mitigate this vulnerability, it is crucial to update to version 1.4.0 or later. For further assistance or support in vulnerability remediation, please reach out to DevNack.com.

See every vulnerability recorded for ecstatic →

Share this vulnerability

FAQ

The vulnerability allows an attacker to crash the server, leading to a denial of service. This can disrupt the availability of the application and potentially impact its users.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your package-lock.json file and it will analyze and alert you if the vulnerability is present.

No, only versions prior to 1.4.0 are affected. It is recommended to update to the latest version to ensure the vulnerability is patched.

There is no known exploit publicly available for this vulnerability at the moment. However, it is still important to update to the fixed version to prevent any potential attacks.

There are alternative packages available for serving static files in Node.js applications, such as express.static or koa-static. It is recommended to evaluate these alternatives based on your specific requirements and consider their security track record.

Related vulnerabilities

Recent vulnerabilities recorded for ecstatic.

How To Fix

Latest published version: 4.1.4 as of 22 Oct 2026

npm install ecstatic@4.1.4

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.4.0

This is the first release that contains the fix.

npm install ecstatic@1.4.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback