CVE-2020-15168

Summary

CVECVE-2020-15168
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-09-10 19:15:00 UTC
Updated2020-09-17 20:21:00 UTC
Descriptionnode-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.

Risk And Classification

Problem Types: CWE-770

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Node-fetch Project Node-fetch All All All All
Application Node-fetch Project Node-fetch 3.0.0 beta1 All All
Application Node-fetch Project Node-fetch 3.0.0 beta5 All All
Application Node-fetch Project Node-fetch 3.0.0 beta6 All All
Application Node-fetch Project Node-fetch 3.0.0 beta7 All All
Application Node-fetch Project Node-fetch 3.0.0 beta8 All All
Application Node-fetch Project Node-fetch All All All All
Application Node-fetch Project Node-fetch 3.0.0 beta1 All All
Application Node-fetch Project Node-fetch 3.0.0 beta5 All All
Application Node-fetch Project Node-fetch 3.0.0 beta6 All All
Application Node-fetch Project Node-fetch 3.0.0 beta7 All All
Application Node-fetch Project Node-fetch 3.0.0 beta8 All All

References

ReferenceSourceLinkTags
node-fetch MISC www.npmjs.com Product, Third Party Advisory
The `size` option isn't honored after following a redirect · Advisory · node-fetch/node-fetch · GitHub CONFIRM github.com Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 983209 Nodejs (npm) Security Update for node-fetch (GHSA-w7rc-rwvf-8q5r)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report