ruby-saml Libxml2 Canonicalization errors can bypass Digest/Signature validation
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| SAML-Toolkits | ruby-saml | affected |
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Saml-toolkits | Ruby-saml | — |
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-x4h9-gwv3-r4m4 | Ruby-saml allows a Libxml2 Canonicalization error to bypass Digest/Signature validation |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.265% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Onelogin
Onelogin ruby-saml |
|
| CPEs | cpe:2.3:a:onelogin:ruby-saml:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Onelogin
Onelogin ruby-saml |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Saml-toolkits
Saml-toolkits ruby-saml |
|
| Vendors & Products |
Saml-toolkits
Saml-toolkits ruby-saml |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | The ruby-saml library implements the client side of an SAML authorization. Versions up to and including 1.12.4, are vulnerable to authentication bypass through the libxml2 canonicalization process used by Nokogiri for document transformation, which allows an attacker to execute a Signature Wrapping attack. When libxml2’s canonicalization is invoked on an invalid XML input, it may return an empty string rather than a canonicalized node. ruby-saml then proceeds to compute the DigestValue over this empty string, treating it as if canonicalization succeeded. This issue is fixed in version 1.18.0. | |
| Title | ruby-saml Libxml2 Canonicalization errors can bypass Digest/Signature validation | |
| Weaknesses | CWE-347 | |
| References |
| |
| Metrics |
cvssV4_0
|