GHSA-hw46-3hmr-x9xv: Omniauth saml Omniauth-saml Has Dependency On Ruby-saml Vulnerability
CRITICALGHSA-hw46-3hmr-x9xv is a CRITICAL omniauth-saml has dependency on ruby-saml vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting Omniauth saml libraries in the RubyGems ecosystem. The issue involves omniauth-saml has dependency on ruby-saml version with signature wrapping attack issue. Remediation is available by upgrading affected packages to version 2.2.3, 2.1.3, 1.10.6.
GHSA-hw46-3hmr-x9xv at a Glance
How to Fix GHSA-hw46-3hmr-x9xv
To remediate this vulnerability, upgrade all affected Omniauth saml dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade omniauth-saml to 2.2.3
Upgrade omniauth-saml to 2.1.3
Upgrade omniauth-saml to 1.10.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for omniauth-saml
How to Check if You Are Affected
To determine whether your application is affected by GHSA-hw46-3hmr-x9xv, inspect your project dependencies for Omniauth saml:
inspect dependencies for omniauth-saml
Analyze the terminal output to locate any version of Omniauth saml in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.3), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-347: Improper Verification of Cryptographic Signature, where the product does not verify, or incorrectly verifies, the cryptographic signature for data. In Omniauth saml, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-hw46-3hmr-x9xv Affected Omniauth saml Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
omniauth-saml
|
RubyGems |
≥ 2.2.0
< 2.2.3
|
2.2.3
|
|
omniauth-saml
|
RubyGems |
≥ 2.0.0
< 2.1.3
|
2.1.3
|
|
omniauth-saml
|
RubyGems |
< 1.10.6
|
1.10.6
|
References
Frequently Asked Questions
What is GHSA-hw46-3hmr-x9xv?
Which Omniauth saml versions are affected?
What version fixes GHSA-hw46-3hmr-x9xv?
Is omniauth-saml affected?
What CWE is associated with GHSA-hw46-3hmr-x9xv?
How can I check RubyGems dependencies for GHSA-hw46-3hmr-x9xv?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hw46-3hmr-x9xv",
"modified" : "2025-05-22T17:13:51Z",
"published" : "2025-03-12T19:42:58Z",
"aliases" : [ ],
"summary" : "omniauth-saml has dependency on ruby-saml version with Signature Wrapping Attack issue",
"details" : "### Summary\nThere are 2 new Critical Signature Wrapping Vulnerabilities (CVE-2025-25292, CVE-2025-25291) and a potential DDOS Moderated Vulneratiblity (CVE-2025-25293) affecting ruby-saml, a dependency of omniauth-saml.\n\nThe fix will be applied to ruby-saml and released 12 March 2025, under version 1.18.0.\n\nPlease [upgrade](https://github.com/omniauth/omniauth-saml/blob/master/omniauth-saml.gemspec#L16) the ruby-saml requirement to v1.18.0.\n\n### Impact\nSignature Wrapping Vulnerabilities allows an attacker to impersonate a user.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "omniauth-saml"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.2.0"
}, {
"fixed" : "2.2.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "omniauth-saml"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.1.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "omniauth-saml"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.10.6"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-hw46-3hmr-x9xv"
}, {
"type" : "WEB",
"url" : "https://github.com/omniauth/omniauth-saml/commit/0d5eaa0d808acb2ac96deadf5c750ac1cf2d92b5"
}, {
"type" : "WEB",
"url" : "https://github.com/omniauth/omniauth-saml/commit/2c8a482801808bbcb0188214bde74680b8018a35"
}, {
"type" : "WEB",
"url" : "https://github.com/omniauth/omniauth-saml/commit/7a348b49083462a566af41a5ae85e9f3af15b985"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/omniauth/omniauth-saml"
}, {
"type" : "WEB",
"url" : "https://github.com/omniauth/omniauth-saml/blob/master/omniauth-saml.gemspec#L16"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/omniauth-saml/GHSA-hw46-3hmr-x9xv.yml"
}, {
"type" : "WEB",
"url" : "https://rubygems.org/gems/omniauth-saml/versions/2.2.3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-347" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-03-12T19:42:58Z",
"nvd_published_at" : null
}
}