GHSA-pm9p-9926-w68m

Suggest an improvement
Source
https://github.com/advisories/GHSA-pm9p-9926-w68m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/12/GHSA-pm9p-9926-w68m/GHSA-pm9p-9926-w68m.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pm9p-9926-w68m
Aliases
Published
2017-12-28T22:52:47Z
Modified
2023-11-08T03:58:21.144728Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Denial of Service in ecstatic
Details

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.

Database specific
{
    "nvd_published_at": "2017-12-14T19:29:00Z",
    "cwe_ids": [
        "CWE-400"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:49:34Z"
}
References

Affected packages

npm / ecstatic

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.0