Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. superagent
  4. ›
  5. GMS-2017-222

GMS-2017-222: Large gzip Denial of Service

September 26, 2017

In a ZIP Bomb attack, the HTTP server replies with a compressed response that becomes several magnitudes larger once uncompressed. If a client does not take special care when processing such responses, it may result in excessive CPU and/or memory consumption. An attacker might exploit such a weakness for a DoS attack. To exploit this the attacker must control the location (URL) that superagent makes a request to.

References

  • github.com/visionmedia/superagent/commit/946e28dab08f2ab334753bf36a2fbc5110d17789
  • github.com/visionmedia/superagent/issues/1259

Code Behaviors & Features

Detect and mitigate GMS-2017-222 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.7.0

Fixed versions

  • 3.7.0

Solution

Upgrade to version 3.7.0 or above.

Source file

npm/superagent/GMS-2017-222.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:04 +0000.