GHSA-pm9p-9926-w68m

    Dashboard / Vulnerabilities / GHSA-pm9p-9926-w68m

    GHSA-pm9p-9926-w68m

    Published: 28 Dec 2017Last Modified: 8 Nov 2023

    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](https://www.checkmarx.com/advisories/denial-of-service-dos-vulnerability-in-ecstatic-npm-package/) ``` 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.

    Affected packages

    Package

    Name: ecstatic

    Purl: pkg:npm/ecstatic

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -2.0.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High