Skip to content
OpenAdvisories
Medium · 5.9 CVE-2017-16129 EUVD-2018-0378GHSA-8225-6cvr-8pqp

superagent vulnerable to zip bomb attacks

Published Jun 7, 2018 · Updated Sep 16, 2024 · Assigned by hackerone

Description

The HTTP client module superagent is vulnerable to ZIP bomb attacks. 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.

Affected products

VendorProductAffectedFixed
HackerOne superagent node module <3.7.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-superagent 0.20.0+dfsg-2 —
Debian 13 node-superagent 0.20.0+dfsg-2 —
Debian 12 node-superagent 0.20.0+dfsg-2 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS node-superagent No fix yet —
Ubuntu 16.04 LTS node-superagent No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm superagent < 3.7.0 3.7.0 GHSA-8225-6cvr-8pqp

References