Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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