{"id":"CVE-2020-15168","details":"node-fetch before versions 2.6.1 and 3.0.0-beta.9 did not honor the size option after following a redirect, which means that when a content size was over the limit, a FetchError would never get thrown and the process would end without failure. For most people, this fix will have a little or no impact. However, if you are relying on node-fetch to gate files above a size, the impact could be significant, for example: If you don't double-check the size of the data after fetch() has completed, your JS thread could get tied up doing work on a large file (DoS) and/or cost you money in computing.","aliases":["GHSA-w7rc-rwvf-8q5r"],"modified":"2026-03-20T11:33:59.984857Z","published":"2020-09-10T19:15:13.490Z","related":["GHSA-w7rc-rwvf-8q5r","SUSE-SU-2020:3235-1"],"references":[{"type":"ADVISORY","url":"https://github.com/node-fetch/node-fetch/security/advisories/GHSA-w7rc-rwvf-8q5r"},{"type":"ADVISORY","url":"https://www.npmjs.com/package/node-fetch"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/node-fetch/node-fetch","events":[{"introduced":"0"},{"fixed":"b5e2e41b2b50bf2997720d6125accaf0dd68c0ab"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2.6.1"}]}}],"versions":["v1.4.0","v1.4.1","v1.5.0","v1.5.1","v1.5.2","v1.5.3","v1.6.0","v1.6.1","v1.6.2","v1.6.3","v2.0.0","v2.0.0-alpha.1","v2.0.0-alpha.3","v2.0.0-alpha.4","v2.0.0-alpha.5","v2.0.0-alpha.6","v2.0.0-alpha.7","v2.0.0-alpha.8","v2.0.0-alpha.9","v2.1.0","v2.1.1","v2.1.2","v2.2.0","v2.2.1","v2.3.0","v2.4.0","v2.4.1","v2.5.0","v2.6.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-15168.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"3.0.0-beta1"}]},{"events":[{"introduced":"0"},{"last_affected":"3.0.0-beta5"}]},{"events":[{"introduced":"0"},{"last_affected":"3.0.0-beta6"}]},{"events":[{"introduced":"0"},{"last_affected":"3.0.0-beta7"}]},{"events":[{"introduced":"0"},{"last_affected":"3.0.0-beta8"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}