
Cloud Vulnerability DB
A community-led vulnerabilities database
The saml2-js package versions prior to 2.0.5 contain an Authentication Bypass vulnerability (GHSA-mfcp-34xw-p57x). This security flaw was discovered by Jon Langlois and disclosed on October 21, 2019. The vulnerability affects the SAML assertion handling in the package, which is a node module designed to simplify SAML protocol implementation (GitHub Advisory, Snyk Report).
The vulnerability stems from the package's failure to enforce assertion conditions for encrypted assertions. The issue has been assigned a CVSS v3.1 score of 6.8 (Moderate severity) with the following metrics: Network attack vector, High attack complexity, Low privileges required, No user interaction needed, Unchanged scope, and High impact on both confidentiality and integrity. The vulnerability is classified as CWE-287 (Authentication Bypass) (GitHub Advisory, Snyk Report).
The vulnerability allows attackers to reuse encrypted assertion tokens indefinitely, potentially leading to unauthorized access and authentication bypass. This could result in a total loss of confidentiality and integrity of the affected systems, allowing attackers to access restricted information or modify protected resources (GitHub Advisory, Snyk Report).
The vulnerability requires network access and high attack complexity to exploit. While it requires low privileges, no user interaction is needed for exploitation. The attack can be executed remotely, making it "remotely exploitable" at the protocol level (Snyk Report).
The recommended mitigation is to upgrade the saml2-js package to version 2.0.5 or later. The fix was implemented in PR #190, which moves condition enforcement into parse_authn_response() after the assertion has been decrypted (GitHub PR, GitHub Advisory).
The vulnerability was acknowledged as a significant security concern, with security researchers noting it as "a pretty big deal" and warning that the library was not secure without the fix. The issue prompted quick action from the maintainers, who prioritized the review and merge of the fix (GitHub PR).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."