Remote Denial of Service in ruby-saml by SAML Toolkits
CVE-2025-25293
7.7HIGH
What is CVE-2025-25293?
The ruby-saml library, utilized for SAML single sign-on in Ruby applications, is vulnerable to a remote Denial of Service attack via compressed SAML assertions. Due to reliance on zlib for decompression, an attacker can exploit this flaw by sending specially crafted compressed responses that bypass message size checks before decompression. This can result in service disruption. Upgrades to versions 1.12.4 and 1.18.0 are necessary to mitigate this issue.
Affected Version(s)
ruby-saml < 1.12.4 < 1.12.4
ruby-saml >= 1.13.0, < 1.18.0 < 1.13.0, 1.18.0