org.webjars.npm:compression@1.5.2

  • latest version

    1.7.3

  • first published

    10 years ago

  • latest version published

    4 years ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:compression package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Missing Release of Memory after Effective Lifetime

    Affected versions of this package are vulnerable to Missing Release of Memory after Effective Lifetime via improper cleanup of the zlib compression stream when a client disconnects before the response finishes. The onResponseClose handler was absent, leaving native zlib handles unreleased whenever a connection closed mid-response. An attacker can exhaust server memory or file-descriptor resources by repeatedly opening connections and disconnecting before response completion, causing a denial of service.

    How to fix Missing Release of Memory after Effective Lifetime?

    Upgrade org.webjars.npm:compression to version 1.8.2 or higher.

    [,1.8.2)