Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. node-saml
  4. ›
  5. CVE-2023-40178

CVE-2023-40178: Insufficient Session Expiration

August 23, 2023 (updated September 5, 2023)

Node-SAML is a SAML library not dependent on any frameworks that runs in Node. The lack of checking of current timestamp allows a LogoutRequest XML to be reused multiple times even when the current time is past the NotOnOrAfter. This could impact the user where they would be logged out from an expired LogoutRequest. In bigger contexts, if LogoutRequests are sent out in mass to different SPs, this could impact many users on a large scale. This issue was patched in version 4.0.5.

References

  • github.com/node-saml/node-saml/commit/045e3b9c54211fdb95f96edf363679845b195cec
  • github.com/node-saml/node-saml/releases/tag/v4.0.5
  • github.com/node-saml/node-saml/security/advisories/GHSA-vx8m-6fhw-pccw
  • nvd.nist.gov/vuln/detail/CVE-2023-40178

Code Behaviors & Features

Detect and mitigate CVE-2023-40178 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.0.5

Solution

Unfortunately, there is no solution available yet.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-613: Insufficient Session Expiration

Source file

npm/node-saml/CVE-2023-40178.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:06 +0000.