Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:gem/ruby-saml@1.12.4
purl pkg:gem/ruby-saml@1.12.4
Next non-vulnerable version 1.18.1
Latest non-vulnerable version 1.18.1
Risk 4.5
Vulnerabilities affecting this package (3)
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-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.
Vulnerabilities fixed by this package (3)
Vulnerability Summary Aliases
VCID-fxzr-8eyk-y3d3 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. CVE-2025-25292
GHSA-754f-8gm6-c4r2
VCID-gxzu-fv72-5ydg 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. CVE-2025-25293
GHSA-92rq-c8cf-prrq
VCID-radx-unvy-ubaq 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. CVE-2025-25291
GHSA-4vc4-m8qh-g8jm

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-15T01:54:59.794388+00:00 GHSA Importer Fixing VCID-fxzr-8eyk-y3d3 https://github.com/advisories/GHSA-754f-8gm6-c4r2 38.6.0
2026-06-15T01:54:59.713116+00:00 GHSA Importer Fixing VCID-radx-unvy-ubaq https://github.com/advisories/GHSA-4vc4-m8qh-g8jm 38.6.0
2026-06-15T01:54:59.670372+00:00 GHSA Importer Fixing VCID-gxzu-fv72-5ydg https://github.com/advisories/GHSA-92rq-c8cf-prrq 38.6.0
2026-06-13T15:13:19.746698+00:00 GitLab Importer Fixing 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-13T15:13:19.570039+00:00 GitLab Importer Fixing 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-13T15:13:19.470369+00:00 GitLab Importer Fixing 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-13T09:26:57.079076+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.352691+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.682181+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-12T20:38:57.568913+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.640169+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.303010+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-12T07:54:17.080460+00:00 GithubOSV Importer Fixing VCID-gxzu-fv72-5ydg https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-92rq-c8cf-prrq/GHSA-92rq-c8cf-prrq.json 38.6.0
2026-06-12T07:54:09.685707+00:00 GithubOSV Importer Fixing VCID-radx-unvy-ubaq https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-4vc4-m8qh-g8jm/GHSA-4vc4-m8qh-g8jm.json 38.6.0
2026-06-12T07:53:56.234172+00:00 GithubOSV Importer Fixing VCID-fxzr-8eyk-y3d3 https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-754f-8gm6-c4r2/GHSA-754f-8gm6-c4r2.json 38.6.0