HIGH 7.5 RubyGems

Ruby SAML allows remote Denial of Service (DoS) with compressed SAML responses

GHSA-92rq-c8cf-prrq · BIT-gitlab-2025-25293 · CVE-2025-25293

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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

Ready to move

Start Securing

Free, no credit card | First findings in minutes