CVE-2016-10703: Denial of Service in ecstatic

ecstatic Updated 02 Oct 2025

Summary

28/12/2017
Yes i
High
7.5

CVE-2016-10703: Denial of Service in ecstatic. Affects ecstatic versions < 2.0.0. Fixed in 2.0.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 a simple static file server middleware used in web applications. It provides a convenient way to serve static files such as HTML, CSS, and JavaScript. However, this package is vulnerable to a denial of service attack. An attacker can exploit this vulnerability by sending a payload containing a large number of null bytes (%00). This payload can cause the ecstatic server to crash due to running out of memory. The severity of the attack increases with the payload size.

Vulnerability Detail

The vulnerability in ecstatic allows an attacker to crash the server by overwhelming it with a payload containing null bytes. The impact of this attack can range from a noticeable lag in server response time to a complete server crash. The vulnerability arises from a lack of input validation and handling of null bytes in the package's code. By sending a payload with a large number of null bytes, an attacker can exploit this weakness and disrupt the normal functioning of the server.

How To Fix

Minimum fixed version

2.0.0

This is the first release that contains the fix.

npm install ecstatic@2.0.0

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

Workaround

If updating to the latest version is not feasible, a temporary workaround can be implemented by implementing input validation and filtering on the server side. This can involve rejecting or sanitizing requests that contain a large number of null bytes. However, it is strongly advised to update to the latest version as soon as possible to ensure comprehensive security.

Conclusion

The ecstatic package is vulnerable to a denial of service attack that can be triggered by sending a payload with a large number of null bytes. This vulnerability can lead to server crashes and performance degradation. To mitigate this vulnerability, it is crucial to update to version 2.0.0 or later of the package. Implementing input validation and filtering on the server side can provide a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for ecstatic →

Share this vulnerability

FAQ

The impact can range from server performance degradation to a complete server crash, depending on the payload size.

Updating to version 2.0.0 or later of the ecstatic package is the recommended mitigation. Implementing input validation and filtering on the server side can also provide a temporary workaround.

Yes, the CVSS score for this vulnerability is 7.5, indicating a high severity.

While specific exploits may not be publicly available, the vulnerability has the potential to be exploited by sending payloads with a large number of null bytes.

There have been reported instances of the ecstatic server crashing when subjected to payloads with a large number of null bytes. These instances serve as evidence of the vulnerability's real-world impact.

Related vulnerabilities

Recent vulnerabilities recorded for ecstatic.

How To Fix

Minimum fixed version

2.0.0

This is the first release that contains the fix.

npm install ecstatic@2.0.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