Improper resource allocation In superagent
Description
superagent vulnerable to zip bomb attacks
Affected versions of superagent do not check the post-decompression size of ZIP compressed HTTP responses prior to decompressing. This results in the package being vulnerable to a ZIP bomb attack, where an extremely small ZIP file becomes many orders of magnitude larger when decompressed.
This may result in unrestrained CPU/Memory/Disk consumption, causing a denial of service condition.
Recommendation
Update to version 3.7.0 or later.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
debian 14 | 0.20.0+dfsg-2 | ||
debian 11 | 0.20.0+dfsg-2 | ||
debian 12 | 0.20.0+dfsg-2 | ||
debian 13 | 0.20.0+dfsg-2 | ||
npm | 3.7.0 |
Aliases
1. 2. 3. 4. 5. 6. 7.
References
1. 2. 3.