CVE-2025-25293 Details
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.
A remote denial-of-service vulnerability has been identified in the ruby-saml library, which provides SAML single sign-on functionality for Ruby applications. This vulnerability affects ruby-saml versions prior to 1.12.4 and 1.13.0 prior to 1.18.0. The issue arises when SAML responses are compressed, allowing an attacker to bypass the message size check. Ruby-saml uses zlib to decompress SAML responses, and the size check is performed before decompression, creating an opportunity for denial-of-service conditions.
Users are advised to update ruby-saml to version 1.18.0 or 1.12.4. If using omniauth-saml, update the ruby-saml requirement to version 1.18.0.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 12, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| omniauth omniauth saml | < 1.10.6 >= 2.0.0, < 2.1.3 >= 2.2.0, < 2.2.3 |
CPE
Remediation
| |
| onelogin ruby-saml | < 1.12.4 >= 1.13.0, < 1.18.0 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Sep 26, 2025 | Modified Analysis | [email protected] |
| Sep 12, 2025 | CVE Modified | [email protected] |
| Aug 1, 2025 | Initial Analysis | [email protected] |
| Mar 14, 2025 | CVE Modified | CVE |
| Mar 12, 2025 | CVE Modified | [email protected] |
| Mar 12, 2025 | New CVE Received | [email protected] |