CVE-2025-25293
Last modified
CVE-2025-25293 is a high-severity vulnerability rated 7.7/10 on the CVSS scale. 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. EPSS estimates a 1.36% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Omniauth | Omniauth Saml | < 1.10.6 |
| Omniauth | Omniauth Saml | >= 2.0.0, < 2.1.3 |
| Omniauth | Omniauth Saml | >= 2.2.0, < 2.2.3 |
| Onelogin | Ruby-Saml | < 1.12.4 |
| Onelogin | Ruby-Saml | >= 1.13.0, < 1.18.0 |
References
- https://github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentialsExploit, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2024-355_ruby-samlExploit, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20250314-0008/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-25293?
How severe is CVE-2025-25293?
How do I fix CVE-2025-25293?
Are you affected by CVE-2025-25293?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
