Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
8.3

CVE-2025-25293: ruby-saml can be crashed by compressed SAML responses

CVE-2025-25293 · published 1 year ago
Summary

The ruby-saml library used for single sign‑on can be forced to stop working when it receives specially crafted compressed messages. An attacker could cause the service that relies on this library to become unavailable. Update ruby-saml to version 1.12.4, 1.18.0, or any later release to fix the problem.

What to do
  • Update saml toolkit ruby-saml to version 1.12.4.
  • Update saml toolkit ruby-saml to version 1.18.0.
Affected software
Ecosystem VendorProductAffected versions
rubygems saml toolkit ruby-saml < 1.12.4
>= 1.13.0, < 1.18.0
Fix: upgrade to 1.12.4
– omniauth omniauth_saml < 1.10.6
>= 2.0.0, < 2.1.3
>= 2.2.0, < 2.2.3
cpe:2.3:a:omniauth:omniauth_saml:*:*:*:*:*:ruby:*:*
– onelogin ruby-saml < 1.12.4
>= 1.13.0, < 1.18.0
cpe:2.3:a:onelogin:ruby-saml:*:*:*:*:*:*:*:*
Original advisory text
ruby-saml vulnerable to Remote Denial of Service (DoS) with compressed SAML responses
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.
Fix within
Internet-facing 14 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker partial control
Severity
8.3 High
Exploitation
1% chance of attack within 30 days
Type
CWE-400Uncontrolled Resource Consumption
CWE-770Allocation of Resources Without Limits
Timeline
Published12 Mar 2025
Updated31 Oct 2026
First seen6 Mar 2026
Sources
Track software like this
Free during beta