{"id":"CVE-2017-16129","aliases":["DEBIAN-CVE-2017-16129","EUVD-2018-0378","GHSA-8225-6cvr-8pqp","UBUNTU-CVE-2017-16129"],"status":"published","title":"superagent vulnerable to zip bomb attacks","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.","severity":{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0174,"percentile":0.77885,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400","CWE-409"],"published":"2018-06-07T02:00:00Z","modified":"2026-10-20T10:48:16Z","fixes":[{"ecosystem":"npm","package":"superagent","fixed_in":["3.7.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"node-superagent","fixed_in":["0.20.0+dfsg-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"node-superagent","fixed_in":["0.20.0+dfsg-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"node-superagent","fixed_in":["0.20.0+dfsg-2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"superagent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"node-superagent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.0+dfsg-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"node-superagent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.0+dfsg-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"node-superagent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.0+dfsg-2"}]}]},{"source":"osv","ecosystem":"npm","package":"superagent","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.7.0"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"node-superagent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.20.0+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"node-superagent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.20.0+dfsg-1"]}],"products":[{"vendor":"hackerone","product":"superagent node module"},{"vendor":"superagent_project","product":"superagent"}],"references":[{"url":"https://nodesecurity.io/advisories/479","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://github.com/visionmedia/superagent/issues/1259","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16129","tags":["advisory"]},{"url":"https://en.wikipedia.org/wiki/Zip_bomb","tags":["web"]},{"url":"https://github.com/advisories/GHSA-8225-6cvr-8pqp","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/479","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-16129","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-16129","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-16129","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-16129","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.","status":"published","published":"2018-06-07T02:00:00Z","modified":"2024-09-16T19:04:07.19Z","cwes":["CWE-409"],"updated_at":"2026-11-02T14:33:21.453505Z"}],"euvd":[{"id":"EUVD-2018-0378","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.","status":"published","published":"2018-06-07T02:00:00Z","modified":"2024-09-16T19:04:07Z","updated_at":"2026-11-03T00:55:26.73018Z"}],"ghsa":[{"id":"GHSA-8225-6cvr-8pqp","title":"superagent vulnerable to zip bomb attacks","description":"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](https://en.wikipedia.org/wiki/Zip_bomb) attack, where an extremely small ZIP file becomes many orders of magnitude larger when decompressed. \n\nThis may result in unrestrained CPU/Memory/Disk consumption, causing a denial of service condition.\n\n\n## Recommendation\n\nUpdate to version 3.7.0 or later.","status":"published","published":"2018-08-09T20:13:01Z","modified":"2023-09-08T23:55:12Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-400","CWE-409"],"updated_at":"2026-11-02T14:37:03.916765Z"}],"nvd":[{"id":"CVE-2017-16129","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.","status":"published","published":"2018-06-07T02:29:03.457Z","modified":"2026-06-17T01:08:50.71Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":7.1,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-409","CWE-400"],"updated_at":"2026-11-02T14:04:17.638656Z"}],"osv":[{"id":"CVE-2017-16129","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.","status":"published","published":"2018-06-07T02:29:03.457Z","modified":"2026-10-20T10:48:16.448583241Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:04.853379Z"},{"id":"DEBIAN-CVE-2017-16129","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.","status":"published","published":"2018-06-07T02:29:03.457Z","modified":"2026-09-01T20:03:45.031280128Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:28.801885Z"},{"id":"GHSA-8225-6cvr-8pqp","title":"superagent vulnerable to zip bomb attacks","description":"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](https://en.wikipedia.org/wiki/Zip_bomb) attack, where an extremely small ZIP file becomes many orders of magnitude larger when decompressed. \n\nThis may result in unrestrained CPU/Memory/Disk consumption, causing a denial of service condition.\n\n\n## Recommendation\n\nUpdate to version 3.7.0 or later.","status":"published","published":"2018-08-09T20:13:01Z","modified":"2023-11-08T03:59:06.560066Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-400","CWE-409"],"updated_at":"2026-11-02T15:46:41.732368Z"},{"id":"UBUNTU-CVE-2017-16129","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.","status":"published","published":"2018-06-07T02:29:00Z","modified":"2025-10-24T04:46:34Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:14.563448Z"}]}}
