Access Control Bypass Affecting @node-saml/node-saml package, versions <4.0.5


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.09% (41st percentile)

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 Access Control Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-NODESAMLNODESAML-5847857
  • published22 Aug 2023
  • disclosed21 Aug 2023
  • creditjindazhao01

Introduced: 21 Aug 2023

CVE-2023-40178  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade @node-saml/node-saml to version 4.0.5 or higher.

Overview

@node-saml/node-saml is a SAML 2.0 implementation for Node.js

Affected versions of this package are vulnerable to Access Control Bypass. The lack of checking of the current timestamp allows a LogoutRequest XML to be reused multiple times even when the current time is past the NotOnOrAfter.

CVSS Scores

version 3.1