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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | node-superagent | No fix yet | — |
| Ubuntu 16.04 LTS | node-superagent | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | superagent | < 3.7.0 | 3.7.0 | GHSA-8225-6cvr-8pqp |