GitHub Advisoryadvisory · npm

GHSA-pm9p-9926-w68m Denial of Service in ecstatic

HIGH Published 2017-12-28 Modified 2021-09-16 Official page ↗
Aliases
CVE-2016-10703
Ecosystem
npm
Packages
ecstatic
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-400
Reviewed
2020-06-16

Affected packages

• npm ecstatic: < 2.0.0 → fixed in 2.0.0

Description

`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. Results from the original advisory ``` A payload of 22kB caused a lag of 1 second, A payload of 35kB caused a lag of 3 seconds, A payload of 86kB caused the server to crash ``` Recommendation Update to version 2.0.0 or later.

Related

Alias · CVE (1)

  • CVE-2016-10703 A regular expression Denial of Service (DoS) vulnerability in the file lib/ecstatic.js of the ecstatic npm package, before version 2.0.0,… vulnerability

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References