{"schemaVersion":3,"id":"CVE-2020-15168","aliases":["UBUNTU-CVE-2020-15168","DEBIAN-CVE-2020-15168","GHSA-w7rc-rwvf-8q5r"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2020-09-10T18:25:13.000Z","modified":"2024-08-04T13:08:22.463Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":2.6,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":2.6,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L","exploitability":3.1,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01692,"percentile":0.76918,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.01692},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01692,"percentile":0.76918}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01692,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01692,"percentile":0.76918}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"debian","product":"node-fetch","name":"node-fetch","label":"node-fetch","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/node-fetch","purlType":"deb","versions":[{"text":"< 2.6.1-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.6.1-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"node-fetch","name":"node-fetch","label":"node-fetch","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/node-fetch","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"node-fetch_project","product":"node-fetch","name":"node-fetch","label":"node-fetch","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.6.1","noFixRecorded":false,"fixedIn":null},{"text":"3.0.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"3.0.0:beta5","noFixRecorded":false,"fixedIn":null},{"text":"3.0.0:beta6","noFixRecorded":false,"fixedIn":null},{"text":"3.0.0:beta7","noFixRecorded":false,"fixedIn":null},{"text":"3.0.0:beta8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.6.1 | 3.0.0:beta1 | 3.0.0:beta5 | 3.0.0:beta6 | 3.0.0:beta7 | 3.0.0:beta8","eol":null,"hubHref":"/vendor/node-fetch_project/node-fetch"},{"vendor":"node-fetch","product":"node-fetch","name":"node-fetch","label":"node-fetch","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.6.1","noFixRecorded":false,"fixedIn":null},{"text":"> 3.0.0-beta.1, < 3.0.0-beta.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.6.1 | > 3.0.0-beta.1, < 3.0.0-beta.9","eol":null,"hubHref":"/vendor/node-fetch/node-fetch"},{"vendor":"Npm","product":"node-fetch","name":"node-fetch","label":"node-fetch","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/node-fetch","purlType":"npm","versions":[{"text":"≥ 2.0.0, < 2.6.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0-beta.1, < 3.0.0-beta.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0.0, < 2.6.1 | ≥ 3.0.0-beta.1, < 3.0.0-beta.9","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/node-fetch/node-fetch/security/advisories/GHSA-w7rc-rwvf-8q5r","label":"github.com/node-fetch/node-fetch/security/advisories/GHSA-w7rc-rwvf-8q5r","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB","Third Party Advisory"]},{"url":"https://www.npmjs.com/package/node-fetch","label":"www.npmjs.com/package/node-fetch","hostname":"www.npmjs.com","tags":["X Refsource MISC","REPORT","Product","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-15168","label":"ubuntu.com/security/CVE-2020-15168","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-15168","label":"www.cve.org/CVERecord?id=CVE-2020-15168","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-15168","label":"security-tracker.debian.org/tracker/CVE-2020-15168","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15168","label":"nvd.nist.gov/vuln/detail/CVE-2020-15168","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/node-fetch/node-fetch/commit/2358a6c2563d1730a0cdaccc197c611949f6a334","label":"github.com/node-fetch/node-fetch/commit/2358a6c2563d1730a0cdaccc197c611949f6a334","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/node-fetch/node-fetch/commit/eaff0094c4dfdd5b78711a8c4f1b61e33d282072","label":"github.com/node-fetch/node-fetch/commit/eaff0094c4dfdd5b78711a8c4f1b61e33d282072","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/node-fetch/node-fetch","label":"github.com/node-fetch/node-fetch","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["SUSE-SU-2020:3235-1"],"duplicates":[],"related":["SUSE-SU-2020:3235-1"]},"timeline":[{"kind":"published","date":"2020-09-10T18:25:13.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T13:08:22.463Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T16:38:33.315Z","stale":false,"partial":false}}