Authentication Bypass Affecting saml2-js package, versions <2.0.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Authentication Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-SAML2JS-474637
  • published1 Nov 2019
  • disclosed21 Oct 2019
  • creditJon Langlois

Introduced: 21 Oct 2019

CVE NOT AVAILABLE CWE-287  (opens in a new tab)

How to fix?

Upgrade saml2-js to version 2.0.5 or higher.

Overview

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.

CVSS Scores

version 3.1