CVE-2022-39300 Signature bypass via multiple root elements in node-SAML
HighCVSS 8.1
EPSS 0.78%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
node SAML is a SAML 2.0 library based on the SAML implementation of passport-saml. A remote attacker may be able to bypass SAML authentication on a website using passport-saml. A successful attack requires that the attacker is in possession of an arbitrary IDP signed XML element. Depending on the IDP used, fully unauthenticated attacks (e.g without access to a valid user) might also be feasible if generation of a signed message can be triggered. Users should upgrade to node-saml version 4.0.0-beta5 or newer. Disabling SAML authentication may be done as a workaround.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| node saml project node saml | < 4.0.0; = 4.0.0-beta0; = 4.0.0-beta1; = 4.0.0-beta2 +2 more | 4.0.0 | Fixed |
| npm node-saml(npm) | < 4.0.0-beta.5 | 4.0.0-beta.5 | Fixed |
| node-saml @node-saml/node-saml | = < 4.0.0-beta.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm node-saml(npm) | < 4.0.0-beta.5 | 4.0.0-beta.5 |
| node-saml @node-saml/node-saml | = < 4.0.0-beta.5 | No fix listed |
| node saml project node saml | < 4.0.0 | 4.0.0 |
| node saml project node saml | = 4.0.0-beta0 | No fix listed |
| node saml project node saml | = 4.0.0-beta1 | No fix listed |
| node saml project node saml | = 4.0.0-beta2 | No fix listed |
| node saml project node saml | = 4.0.0-beta3 | No fix listed |
| node saml project node saml | = 4.0.0-beta4 | No fix listed |
References
- github.com third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product