GitHub Advisoryadvisory · RubyGems

GHSA-92rq-c8cf-prrq Ruby SAML allows remote Denial of Service (DoS) with compressed SAML responses

HIGH Published 2025-03-12 Modified 2025-11-03 Official page ↗
Aliases
CVE-2025-25293
Ecosystem
RubyGems
Packages
ruby-saml
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-400, CWE-770
Reviewed
2025-03-12

Affected packages

• RubyGems ruby-saml: < 1.12.4 → fixed in 1.12.4 • RubyGems ruby-saml: >= 1.13.0, < 1.18.0 → fixed in 1.18.0

Description

Summary 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. Impact This issue may lead to remote Denial of Service (DoS).

Related

Alias · CVE (1)

  • CVE-2025-25293 ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. vulnerability

Weakness · CWE (2)

  • CWE-400 Uncontrolled Resource Consumption weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

References