Medium, CVSS 5.9npmAmendedPublished
superagent vulnerable to zip bomb attacks
CVE-2017-16129 · GHSA-8225-6cvr-8pqp
- Affected
- npm superagent < 3.7.0
- Fixed in
- 3.7.0· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 3.7.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.