{"id":"CVE-2025-25293","aliases":["CVE-2025-25293","GHSA-92rq-c8cf-prrq","BIT-GITLAB-2025-25293"],"related":[],"kind":"vulnerability","state":"published","title":"ruby-saml vulnerable to Remote Denial of Service (DoS) with compressed SAML responses","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\nruby-saml is susceptible to remote Denial of Service (DoS) with compressed SAML responses.\n\nRuby-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.\n\n### Impact\nThis issue may lead to remote Denial of Service (DoS).","format":"markdown","source":"ghsa"},{"lang":"es","text":"ruby-saml proporciona inicio de sesión único (SSO) con lenguaje de marcado para aserciones de seguridad (SAML) para Ruby. En versiones anteriores a la 1.12.4 y la 1.18.0, ruby-saml era susceptible a ataques de denegación de servicio (DoS) remotos con respuestas SAML comprimidas. ruby-saml utiliza zlib para descomprimir las respuestas SAML en caso de que estén comprimidas. Es posible omitir la comprobación del tamaño del mensaje con una aserción comprimida, ya que el tamaño del mensaje se comprueba antes del inflado, no después. Este problema puede provocar ataques de denegación de servicio (DoS) remotos. Las versiones 1.12.4 y 1.18.0 solucionan el problema.","source":"nvd"}],"published":"2025-03-12T20:11:08.860Z","modified":"2026-09-08T08:47:45.214Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","score":7.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-400","CWE-770"],"affected":[{"ranges":[{"version":"< 1.12.4","status":"affected"},{"version":">= 1.13.0, < 1.18.0","status":"affected"}],"vendor":"SAML-Toolkits","product":"ruby-saml","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.12.4"}],"ecosystem":"RubyGems","package":"ruby-saml","purl":"pkg:gem/ruby-saml","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.13.0","status":"affected","fixed":"1.18.0"}],"ecosystem":"RubyGems","package":"ruby-saml","purl":"pkg:gem/ruby-saml","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.10.6"},{"status":"affected","introduced":"2.0.0","fixed":"2.1.3"},{"status":"affected","introduced":"2.2.0","fixed":"2.2.3"}],"vendor":"omniauth","product":"omniauth_saml","cpe":"cpe:2.3:a:omniauth:omniauth_saml:*:*:*:*:*:ruby:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"1.12.4"},{"status":"affected","introduced":"1.13.0","fixed":"1.18.0"}],"vendor":"onelogin","product":"ruby-saml","cpe":"cpe:2.3:a:onelogin:ruby-saml:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"17.9.2"}],"ecosystem":"Bitnami","package":"gitlab","purl":"pkg:bitnami/gitlab","source":"bitnami"}],"references":[{"url":"https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-92rq-c8cf-prrq","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-hw46-3hmr-x9xv","tags":["advisory","vendor-advisory","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml/commit/acac9e9cc0b9a507882c614f25d41f8b47be349a","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml/commit/e2da4c6dae7dc01a4d9cd221395140a67e2b3eb1","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2-released","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentials","tags":["advisory","exploit","third-party-advisory","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.12.4","tags":["article","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.0","tags":["article","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://securitylab.github.com/advisories/GHSL-2024-355_ruby-saml","tags":["advisory","exploit","third-party-advisory","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20250314-0008/","tags":["advisory","third-party-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00011.html","tags":["web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25293","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-25293.yml","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20250314-0008","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-03-12T20:36:09.253Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-25293","url":"https://www.cve.org/CVERecord?id=CVE-2025-25293","licence":"CVE Terms of Use","modified":"2025-11-03T19:45:02.622Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-92rq-c8cf-prrq","url":"https://github.com/advisories/GHSA-92rq-c8cf-prrq","licence":"CC-BY-4.0","modified":"2026-02-04T04:10:40.237Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-25293","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25293","licence":"Public domain","modified":"2026-06-17T09:00:37.887Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GITLAB-2025-25293","url":"https://osv.dev/vulnerability/BIT-GITLAB-2025-25293","licence":"Apache-2.0","modified":"2026-09-08T08:47:45.214Z"}],"updatedAt":"2026-11-25T22:58:55.229Z","epss":{"score":0.01516,"percentile":0.75302,"date":"2026-12-02T12:00:21.000Z"}}