SAML-Toolkits ruby-saml
ruby-saml vulnerable to Remote Denial of Service (DoS) with compressed SAML responses
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Prior to versions 1.12.4 and 1.18.0, 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). Versions 1.12.4 and 1.18.0 fix the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.12.4
- >= 1.13.0, < 1.18.0
Fixed in 1.12.4, 1.18.0
Mitigation
Upgrade ruby-saml to 1.12.4 or 1.18.0 or later.
References
- Vendor advisory github.com/SAML-Toolkits/ruby-saml/security/ad…
- Vendor advisory github.com/omniauth/omniauth-saml/security/adv…
- Patch github.com/SAML-Toolkits/ruby-saml/commit/acac…
3 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.