Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:gem/ruby-saml@1.3.0
purl pkg:gem/ruby-saml@1.3.0
Next non-vulnerable version 1.18.1
Latest non-vulnerable version 1.18.1
Risk 4.5
Vulnerabilities affecting this package (8)
Vulnerability Summary Fixed by
VCID-3m5h-69jv-uyhs
Aliases:
CVE-2025-66568
GHSA-x4h9-gwv3-r4m4
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.
1.18.0
Affected by 1 other vulnerability.
VCID-dwax-f22f-5ybj
Aliases:
CVE-2025-54572
GHSA-rrqh-93c8-j966
The Ruby SAML library is for implementing the client side of a SAML authorization. In versions 1.18.0 and below, a denial-of-service vulnerability exists in ruby-saml even with the message_max_bytesize setting configured. The vulnerability occurs because the SAML response is validated for Base64 format prior to checking the message size, leading to potential resource exhaustion. This is fixed in version 1.18.1.
1.18.1
Affected by 0 other vulnerabilities.
VCID-ffet-nnc7-k3ca
Aliases:
CVE-2024-45409
GHSA-jw9c-mfg7-9rx2
The Ruby SAML library is for implementing the client side of a SAML authorization. Ruby-SAML in <= 12.2 and 1.13.0 <= 1.16.0 does not properly verify the signature of the SAML Response. An unauthenticated attacker with access to any signed saml document (by the IdP) can thus forge a SAML Response/Assertion with arbitrary contents. This would allow the attacker to log in as arbitrary user within the vulnerable system. This vulnerability is fixed in 1.17.0 and 1.12.3.
1.12.3
Affected by 6 other vulnerabilities.
1.17.0
Affected by 6 other vulnerabilities.
VCID-fxzr-8eyk-y3d3
Aliases:
CVE-2025-25292
GHSA-754f-8gm6-c4r2
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. An authentication bypass vulnerability was found in ruby-saml prior to versions 1.12.4 and 1.18.0 due to a parser differential. ReXML and Nokogiri parse XML differently, the parsers can generate entirely different document structures from the same XML input. That allows an attacker to be able to execute a Signature Wrapping attack. This issue may lead to authentication bypass. Versions 1.12.4 and 1.18.0 contain a patch for the issue.
1.12.4
Affected by 3 other vulnerabilities.
1.18.0
Affected by 1 other vulnerability.
VCID-gxzu-fv72-5ydg
Aliases:
CVE-2025-25293
GHSA-92rq-c8cf-prrq
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Prior to versions 1.12.4 and 1.18.0, ruby-saml is susceptible to remote Denial of Service (DoS) with compressed SAML responses. ruby-saml uses zlib to decompress SAML responses in case they're compressed. It is possible to bypass the message size check with a compressed assertion since the message size is checked before inflation and not after. This issue may lead to remote Denial of Service (DoS). Versions 1.12.4 and 1.18.0 fix the issue.
1.12.4
Affected by 3 other vulnerabilities.
1.18.0
Affected by 1 other vulnerability.
VCID-radx-unvy-ubaq
Aliases:
CVE-2025-25291
GHSA-4vc4-m8qh-g8jm
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. An authentication bypass vulnerability was found in ruby-saml prior to versions 1.12.4 and 1.18.0 due to a parser differential. ReXML and Nokogiri parse XML differently; the parsers can generate entirely different document structures from the same XML input. That allows an attacker to be able to execute a Signature Wrapping attack. This issue may lead to authentication bypass. Versions 1.12.4 and 1.18.0 fix the issue.
1.12.4
Affected by 3 other vulnerabilities.
1.18.0
Affected by 1 other vulnerability.
VCID-rxn8-pfdu-uqd3
Aliases:
CVE-2025-66567
GHSA-9v8j-x534-2fx3
The ruby-saml library is for implementing the client side of a SAML authorization. ruby-saml versions up to and including 1.12.4 contain an authentication bypass vulnerability due to an incomplete fix for CVE-2025-25292. ReXML and Nokogiri parse XML differently, generating entirely different document structures from the same input. This allows an attacker to execute a Signature Wrapping attack. This issue is fixed in version 1.18.0.
1.18.0
Affected by 1 other vulnerability.
VCID-yh1m-wtu8-6bgc
Aliases:
CVE-2017-11428
GHSA-x2fr-v8wf-8wwv
Ruby-SAML Improper Authentication vulnerability
1.6.2
Affected by 7 other vulnerabilities.
1.7.0
Affected by 7 other vulnerabilities.
Vulnerabilities fixed by this package (1)
Vulnerability Summary Aliases
VCID-psrx-7yk1-4kce Ruby-saml allows attackers to perform XML signature wrapping attacks CVE-2016-5697
GHSA-36p7-xjw8-h6f2

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-13T09:26:56.993158+00:00 Ruby Importer Affected by VCID-3m5h-69jv-uyhs https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-66568.yml 38.6.0
2026-06-13T09:26:56.275954+00:00 Ruby Importer Affected by VCID-rxn8-pfdu-uqd3 https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-66567.yml 38.6.0
2026-06-13T09:26:34.598970+00:00 Ruby Importer Affected by VCID-dwax-f22f-5ybj https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-54572.yml 38.6.0
2026-06-13T09:26:18.171836+00:00 Ruby Importer Affected by VCID-gxzu-fv72-5ydg https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-25293.yml 38.6.0
2026-06-13T09:26:07.739512+00:00 Ruby Importer Affected by VCID-radx-unvy-ubaq https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-25291.yml 38.6.0
2026-06-13T09:26:05.637915+00:00 Ruby Importer Affected by VCID-fxzr-8eyk-y3d3 https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-25292.yml 38.6.0
2026-06-13T09:24:57.507357+00:00 Ruby Importer Affected by VCID-ffet-nnc7-k3ca https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2024-45409.yml 38.6.0
2026-06-12T20:38:57.475682+00:00 GitLab Importer Affected by VCID-rxn8-pfdu-uqd3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/ruby-saml/CVE-2025-66567.yml 38.6.0
2026-06-12T20:38:47.541723+00:00 GitLab Importer Affected by VCID-3m5h-69jv-uyhs https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/ruby-saml/CVE-2025-66568.yml 38.6.0
2026-06-12T20:08:15.206386+00:00 GitLab Importer Affected by VCID-dwax-f22f-5ybj https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/ruby-saml/CVE-2025-54572.yml 38.6.0
2026-06-12T19:54:47.376467+00:00 GitLab Importer Affected by VCID-fxzr-8eyk-y3d3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/ruby-saml/CVE-2025-25292.yml 38.6.0
2026-06-12T19:54:45.743449+00:00 GitLab Importer Affected by VCID-radx-unvy-ubaq https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/ruby-saml/CVE-2025-25291.yml 38.6.0
2026-06-12T19:54:44.890155+00:00 GitLab Importer Affected by VCID-gxzu-fv72-5ydg https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/ruby-saml/CVE-2025-25293.yml 38.6.0
2026-06-12T19:39:16.249905+00:00 GitLab Importer Affected by VCID-ffet-nnc7-k3ca https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/ruby-saml/CVE-2024-45409.yml 38.6.0
2026-06-12T17:10:19.430689+00:00 GitLab Importer Affected by VCID-yh1m-wtu8-6bgc https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/ruby-saml/CVE-2017-11428.yml 38.6.0
2026-06-12T15:39:38.736630+00:00 GitLab Importer Fixing VCID-psrx-7yk1-4kce https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/ruby-saml/CVE-2016-5697.yml 38.6.0
2026-06-12T08:10:03.979504+00:00 GithubOSV Importer Fixing VCID-psrx-7yk1-4kce https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/08/GHSA-36p7-xjw8-h6f2/GHSA-36p7-xjw8-h6f2.json 38.6.0
2026-06-11T20:24:13.973156+00:00 GHSA Importer Fixing VCID-psrx-7yk1-4kce https://github.com/advisories/GHSA-36p7-xjw8-h6f2 38.6.0