Skip to main content
← All vulnerabilities
CVE-2025-25293GHSA-92RQ-C8CF-PRRQBIT-GITLAB-2025-25293

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.12.4, 1.18.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • SAML-Toolkits ruby-saml

    fixed in 1.12.4; From 1.13.0 · fixed in 1.18.0

  • ruby-samlRubyGems

    fixed in 1.12.4

  • ruby-samlRubyGems

    From 1.13.0 · fixed in 1.18.0

References 9

GitHub · SAML-Toolkits/ruby-saml

GitHub · omniauth/omniauth-saml

about.gitlab.com

github.blog

securitylab.github.com