ADVISORIES

GitHub Advisory Database

GHSA-92rq-c8cf-prrq

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

Details

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

Affected packages

EcosystemPackageAffected versions
RubyGemsruby-saml
All versions before 1.12.4 (fixed in 1.12.4)
RubyGemsruby-saml
From 1.13.0 before 1.18.0 (fixed in 1.18.0)

References