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://github.com/visionmedia/superagent/issues/1259
https://nodesecurity.io/advisories/479
Related Vulnerabilities
CVE-2022-3783 Vulnerability in npm package node-red-dashboard
CVE-2021-41184 Vulnerability in maven package org.webjars.npm:jquery-ui
CVE-2023-37895 Vulnerability in maven package org.apache.jackrabbit:jackrabbit-webapp
CVE-2021-43783 Vulnerability in npm package @backstage/plugin-scaffolder-backend
CVE-2017-12647 Vulnerability in maven package com.liferay:com.liferay.knowledge.base.service