CVE-2023-40178 json
@node-saml/node-saml's validatePostRequestAsync does not include checkTimestampsValidityError
published 2023-08-21 3 y ago modified 2026-09-10 1 mo ago also GHSA-vx8m-6fhw-pccw , EUVD-2023-2365
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @node-saml/node-saml 4.0.5
- node-saml node-saml 4.0.5
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @node-saml/node-saml | <4.0.5 |
4.0.5 |
Affected products
- node-saml node-saml
Classification
References
-
github.com
/node-saml/node-saml/commit/045e3b9c54211fdb95f96edf363679845b195cec
web, patch
-
github.com
/node-saml/node-saml/security/advisories/GHSA-vx8m-6fhw-pccw
web, vendor-advisory
-
github.com
/node-saml/node-saml/releases/tag/v4.0.5
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2023-40178
advisory
-
github.com
/node-saml/node-saml
package
Sources
- CVE List CVE-2023-40178
- GitHub Advisory GHSA-vx8m-6fhw-pccw
- NVD CVE-2023-40178
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.