saml2-js@1.0.2 vulnerabilities

SAML 2.0 node helpers

Direct Vulnerabilities

Known vulnerabilities in the saml2-js package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Authentication Bypass

saml2-js is a node module that abstracts away the complexities of the SAML protocol behind an easy to use interface.

Affected versions of this package are vulnerable to Authentication Bypass. The package fails to enforce the assertion conditions for encrypted assertions, which may allow an attacker to reuse encrypted assertion tokens indefinitely.

How to fix Authentication Bypass?

Upgrade saml2-js to version 2.0.5 or higher.

<2.0.5
  • M
Authentication Bypass

saml2-js is a node module that abstracts away the complexities of the SAML protocol behind an easy to use interface.

Affected versions of this package are vulnerable to Authentication Bypass. It incorrectly utilizes the results of XML DOM traversal and canonicalization APIs in such a way that an attacker may be able to manipulate the SAML data without invalidating the cryptographic signature, allowing the attack to potentially bypass authentication to SAML service providers.

How to fix Authentication Bypass?

Upgrade saml2-js to version 1.12.4, 2.0.2 or higher.

<1.12.4 >=2.0.0 <2.0.2