{"id":"GHSA-8225-6cvr-8pqp","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](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.","aliases":["CVE-2017-16129"],"modified":"2023-11-01T04:47:53.039278Z","published":"2018-08-09T20:13:01Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-400","CWE-409"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:23:56Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16129"},{"type":"WEB","url":"https://github.com/visionmedia/superagent/issues/1259"},{"type":"WEB","url":"https://en.wikipedia.org/wiki/Zip_bomb"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8225-6cvr-8pqp"},{"type":"WEB","url":"https://www.npmjs.com/advisories/479"}],"affected":[{"package":{"name":"superagent","ecosystem":"npm","purl":"pkg:npm/superagent"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.7.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/08/GHSA-8225-6cvr-8pqp/GHSA-8225-6cvr-8pqp.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}