RubySec

Providing security resources for the Ruby community

CVE-2025-25293 (ruby-saml): Ruby SAML allows remote Denial of Service (DoS) with compressed SAML responses

ADVISORIES

GEM

ruby-saml

PATCHED VERSIONS

  • ~> 1.12.4
  • >= 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