castle-chat-lib@1.6.0

Vulnerabilities

2 via 2 paths

Dependencies

21

Source

npm

Find, fix and prevent vulnerabilities in your code.

Severity
  • 2
Status
  • 2
  • 0
  • 0

medium severity

Denial of Service

  • Vulnerable module: node-fetch
  • Introduced through: castle-api-client@6.1.0

Detailed paths

  • Introduced through: castle-chat-lib@1.6.0 castle-api-client@6.1.0 apollo-fetch@0.7.0 cross-fetch@1.1.1 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

medium severity

Improper Input Validation

  • Vulnerable module: xmldom
  • Introduced through: strophe.js@1.4.2

Detailed paths

  • Introduced through: castle-chat-lib@1.6.0 strophe.js@1.4.2 xmldom@0.5.0

Overview

xmldom is an A pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module.

Affected versions of this package are vulnerable to Improper Input Validation. It does not correctly escape special characters when serializing elements removed from their ancestor. This may lead to unexpected syntactic changes during XML processing in some downstream applications.

Remediation

A fix was pushed into the master branch but not yet published.

References