@tutorbot/payment-interface@1.1.1

Vulnerabilities

3 via 3 paths

Dependencies

149

Source

npm

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
  • 2
Status
  • 3
  • 0
  • 0

high severity

Signature Validation Bypass

  • Vulnerable module: xml-crypto
  • Introduced through: strong-soap@1.22.1

Detailed paths

  • Introduced through: @tutorbot/payment-interface@1.1.1 strong-soap@1.22.1 xml-crypto@1.5.4
    Remediation: Upgrade to @tutorbot/payment-interface@2.0.0.

Overview

xml-crypto is a xml digital signature and encryption library for Node.js.

Affected versions of this package are vulnerable to Signature Validation Bypass. An attacker can inject an HMAC-SHA1 signature that is valid using only knowledge of the RSA public key. This allows bypassing signature validation.

Remediation

Upgrade xml-crypto to version 2.0.0 or higher.

References

medium severity

Server-Side Request Forgery (SSRF)

  • Vulnerable module: axios
  • Introduced through: axios@0.18.1

Detailed paths

  • Introduced through: @tutorbot/payment-interface@1.1.1 axios@0.18.1
    Remediation: Upgrade to axios@0.21.1.

Overview

axios is a promise based HTTP client for the browser and node.js.

Affected versions of this package are vulnerable to Server-Side Request Forgery (SSRF). An attacker is able to bypass a proxy by providing a URL that responds with a redirect to a restricted host or IP address.

Remediation

Upgrade axios to version 0.21.1 or higher.

References

medium severity
new

Improper Input Validation

  • Vulnerable module: xmldom
  • Introduced through: strong-soap@1.22.1

Detailed paths

  • Introduced through: @tutorbot/payment-interface@1.1.1 strong-soap@1.22.1 xml-crypto@1.5.4 xmldom@0.6.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