Advisory

GHSA-8225-6cvr-8pqp

Also known as: CVE-2017-16129

Summary

superagent vulnerable to zip bomb attacks

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2018-08-09 20:13 UTC
Modified
2023-11-08 03:59 UTC

Affected packages and fixes

superagent

npm · All systems

Affected

  • introduced 0, fixed 3.7.0 (semver)

Fixed versions

3.7.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences