Denial of Service Affecting node-fetch package, versions <2.6.1 >=3.0.0-beta.1 <3.0.0-beta.9


0.0
medium

Snyk CVSS

    Attack Complexity High
    Availability High

    Threat Intelligence

    EPSS 0.1% (42nd percentile)
Expand this section
NVD
5.3 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-NODEFETCH-674311
  • published 11 Sep 2020
  • disclosed 10 Sep 2020
  • credit Unknown

How to fix?

Upgrade node-fetch to version 2.6.1, 3.0.0-beta.9 or higher.

Overview

node-fetch is a light-weight module that brings window.fetch to node.js

Affected versions of this package are vulnerable to Denial of Service. Node Fetch 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.