CVE-2023-40178 @node-saml/node-saml's validatePostRequestAsync does not include checkTimestampsValidityError
MediumCVSS 5.3
EPSS 0.49%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
Description
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| node saml project node saml | < 4.0.5 | 4.0.5 | Fixed |
| node-saml @node-saml/node-saml | < 4.0.5; = < 4.0.5 | 4.0.5 | Fixed |
| node-saml @node-saml/node-saml(npm) | < 4.0.5 | 4.0.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| node-saml @node-saml/node-saml(npm) | < 4.0.5 | 4.0.5 |
| node-saml @node-saml/node-saml | = < 4.0.5 | No fix listed |
| node-saml @node-saml/node-saml | < 4.0.5 | 4.0.5 |
| node saml project node saml | < 4.0.5 | 4.0.5 |
References
- https://github.com/node-saml/node-saml/security/advisories/GHSA-vx8m-6fhw-pccw vendor-advisory
- https://github.com/node-saml/node-saml/commit/045e3b9c54211fdb95f96edf363679845b195cec patch
- https://github.com/node-saml/node-saml/releases/tag/v4.0.5 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product