CVE-2025-25293CWE-400

ruby-saml vulnerable to Remote Denial of Service (DoS) with compressed SAML responses

High · published March 12, 2025

CVSS v4.0
7.7
EPSS
2%
Percentile
74.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
7.7 · HIGH
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
EPSS
0.01528 · 74.5th percentile
Weakness
CWE-400 · Uncontrolled Resource Consumption
Published
2025-03-12T20:11Z
EPSS history
Timeline
  • 12 MAR 20:11Z
    ruby-saml vulnerable to Remote Denial of Service (DoS) with compressed SAML responses
    cvelistv5