7.7
CWE
400 770
Advisory Published
Advisory Published
Updated

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

First published: Wed Mar 12 2025(Updated: )

### 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).

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
ruby-saml<1.12.4<1.18.0
rubygems/ruby-saml>=1.13.0<1.18.0
1.18.0
rubygems/ruby-saml<1.12.4
1.12.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-25293?

    CVE-2025-25293 has a high severity rating due to its potential for remote Denial of Service (DoS).

  • How do I fix CVE-2025-25293?

    To fix CVE-2025-25293, upgrade ruby-saml to version 1.18.0 or later.

  • What systems are affected by CVE-2025-25293?

    CVE-2025-25293 affects ruby-saml versions from 1.13.0 up to 1.18.0 and below version 1.12.4.

  • What type of attack does CVE-2025-25293 facilitate?

    CVE-2025-25293 facilitates a remote Denial of Service (DoS) attack using compressed SAML responses.

  • Is there a workaround for CVE-2025-25293?

    Currently, the only reliable workaround for CVE-2025-25293 is to update to the fixed versions of ruby-saml.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203