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 compre…
- CVSS
- 7.5High
- Chance of exploitation (EPSS)
- —
- Published
- Mar 12, 2025
- In the news
- Not yet
What to do
A serious resource exhaustion flaw in Omniauth SAML and Onelogin Ruby-saml that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Saml-toolkits Ruby-saml
- < 1.12.4; >= 1.13.0, < 1.18.0
Description
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2025-25293 published (CVSS 7.5) (Mar 12, 2025)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Mar 12, 2025
- CVECVE-2025-25293 published (CVSS 7.5)CVE Program · 21:15 UTC
References 11
- about.gitlab.com Patch /releases/2025/03/12/patch-release-gitlab-17-9-2-released
- github.com Patch /SAML-Toolkits/ruby-saml/commit/acac9e9cc0b9a507882c614f25d41f8b47be349a
- github.com Patch /SAML-Toolkits/ruby-saml/commit/e2da4c6dae7dc01a4d9cd221395140a67e2b3eb1
- github.com Vendor Advisory /SAML-Toolkits/ruby-saml/security/advisories/GHSA-92rq-c8cf-prrq
- github.com Vendor Advisory /omniauth/omniauth-saml/security/advisories/GHSA-hw46-3hmr-x9xv
- github.blog Exploit /security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentials
- securitylab.github.com Exploit /advisories/GHSL-2024-355_ruby-saml
- github.com /SAML-Toolkits/ruby-saml/releases/tag/v1.12.4
- github.com /SAML-Toolkits/ruby-saml/releases/tag/v1.18.0
- lists.debian.org /debian-lts-announce/2025/04/msg00011.html
- security.netapp.com /advisory/ntap-20250314-0008/