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.
This issue may lead to remote Denial of Service (DoS).
{
"cwe_ids": [
"CWE-400",
"CWE-770"
],
"github_reviewed": true,
"github_reviewed_at": "2025-03-12T20:16:50Z",
"severity": "HIGH",
"nvd_published_at": "2025-03-12T21:15:42Z"
}