npm

Severity: low

Large gzip Denial of Service

superagent

Overview

Affected versions of superagent do not check the post-decompression size of ZIP compressed HTTP responses prior to decompressing. This results in the package being vulnerable to a ZIP bomb attack, where an extremely small ZIP file becomes many orders of magnitude larger when decompressed.

This may result in unrestrained CPU/Memory/Disk consumption, causing a denial of service condition.

Remediation

Update to version 3.7.0 or later.

Have content suggestions? Send them to [email protected]

Advisory timeline

  1. published

    Advisory published
    Sep 26th, 2017
  2. reported

    Initial report by Dennis Appelt
    Jul 28th, 2017