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.
Remediation
References
https://nodesecurity.io/advisories/479
https://github.com/visionmedia/superagent/issues/1259
Related Vulnerabilities
CVE-2019-19771 Vulnerability in npm package crytpo-js
CVE-2016-10604 Vulnerability in npm package dalek-browser-chrome
CVE-2019-19771 Vulnerability in npm package lodahs
CVE-2019-1003026 Vulnerability in maven package org.jenkins-ci.plugins:mattermost
CVE-2018-8017 Vulnerability in maven package org.apache.tika:tika-parsers