Vulnerabilities

2 via 24 paths

Dependencies

201

Source

npm

Find, fix and prevent vulnerabilities in your code.

Severity
  • 2
Status
  • 2
  • 0
  • 0

medium severity
new

Information Exposure

  • Vulnerable module: node-fetch
  • Introduced through: @0x/utils@4.5.2, @0x/assert@2.1.6 and others

Detailed paths

  • Introduced through: @0x/order-utils@8.4.0 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/assert@2.1.6 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/web3-wrapper@6.0.13 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/base-contract@5.4.0 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/web3-wrapper@6.0.13 @0x/assert@2.1.6 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/base-contract@5.4.0 @0x/assert@2.1.6 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/base-contract@5.4.0 @0x/web3-wrapper@6.0.13 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/abi-gen-wrappers@5.3.2 @0x/base-contract@5.4.0 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/base-contract@5.4.0 @0x/web3-wrapper@6.0.13 @0x/assert@2.1.6 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/abi-gen-wrappers@5.3.2 @0x/base-contract@5.4.0 @0x/assert@2.1.6 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/abi-gen-wrappers@5.3.2 @0x/base-contract@5.4.0 @0x/web3-wrapper@6.0.13 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/abi-gen-wrappers@5.3.2 @0x/base-contract@5.4.0 @0x/web3-wrapper@6.0.13 @0x/assert@2.1.6 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3

Overview

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

Affected versions of this package are vulnerable to Information Exposure when fetching a remote url with Cookie, if it get a Location response header, it will follow that url and try to fetch that url with provided cookie. This can lead to forwarding secure headers to 3th party.

Remediation

Upgrade node-fetch to version 2.6.7, 3.1.1 or higher.

References

medium severity

Denial of Service

  • Vulnerable module: node-fetch
  • Introduced through: @0x/utils@4.5.2, @0x/assert@2.1.6 and others

Detailed paths

  • Introduced through: @0x/order-utils@8.4.0 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/assert@2.1.6 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/web3-wrapper@6.0.13 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/base-contract@5.4.0 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/web3-wrapper@6.0.13 @0x/assert@2.1.6 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/base-contract@5.4.0 @0x/assert@2.1.6 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/base-contract@5.4.0 @0x/web3-wrapper@6.0.13 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/abi-gen-wrappers@5.3.2 @0x/base-contract@5.4.0 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/base-contract@5.4.0 @0x/web3-wrapper@6.0.13 @0x/assert@2.1.6 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/abi-gen-wrappers@5.3.2 @0x/base-contract@5.4.0 @0x/assert@2.1.6 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/abi-gen-wrappers@5.3.2 @0x/base-contract@5.4.0 @0x/web3-wrapper@6.0.13 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3
  • Introduced through: @0x/order-utils@8.4.0 @0x/abi-gen-wrappers@5.3.2 @0x/base-contract@5.4.0 @0x/web3-wrapper@6.0.13 @0x/assert@2.1.6 @0x/utils@4.5.2 isomorphic-fetch@2.2.1 node-fetch@1.7.3

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.

Remediation

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

References