eth-block-tracker@4.0.2

Vulnerabilities

1 via 2 paths

Dependencies

271

Source

npm

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

medium severity

Denial of Service

  • Vulnerable module: node-fetch
  • Introduced through: eth-json-rpc-infura@3.2.1

Detailed paths

  • Introduced through: eth-block-tracker@4.0.2 eth-json-rpc-infura@3.2.1 cross-fetch@2.2.3 node-fetch@2.1.2
    Remediation: Upgrade to eth-block-tracker@4.1.2.
  • Introduced through: eth-block-tracker@4.0.2 eth-json-rpc-infura@3.2.1 eth-json-rpc-middleware@1.6.0 fetch-ponyfill@4.1.0 node-fetch@1.7.3

Overview

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.

Remediation

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

References