Denial of Service Affecting org.webjars.npm:node-fetch package, versions [3.0.0-beta.4,3.0.0-beta.9)[,2.6.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (50th percentile)

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 Learn

Learn about Denial of Service vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-674312
  • published11 Sept 2020
  • disclosed10 Sept 2020
  • creditUnknown

Introduced: 10 Sep 2020

CVE-2020-15168  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade org.webjars.npm:node-fetch to version 3.0.0-beta.9, 2.6.1 or higher.

Overview

org.webjars.npm:node-fetch is an 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.

CVSS Scores

version 3.1