{"id":"CVE-2025-25293","aliases":["BIT-gitlab-2025-25293","GHSA-92rq-c8cf-prrq"],"url":"https://o3.security/vulnerability/CVE-2025-25293","summary":"ruby-saml vulnerable to Remote Denial of Service (DoS) with compressed SAML responses","details":"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.","published":"2025-03-12T20:11:08.860Z","modified":"2026-07-15T01:49:18.572147883Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"ruby-saml","fixedVersion":"1.12.4"},{"ecosystem":"RubyGems","name":"ruby-saml","fixedVersion":"1.18.0"}],"fix":{"url":"https://github.com/SAML-Toolkits/ruby-saml/commit/acac9e9cc0b9a507882c614f25d41f8b47be349a","label":"SAML-Toolkits/ruby-saml@acac9e9"},"references":[{"type":"WEB","url":"https://about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2-released"},{"type":"WEB","url":"https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.12.4"},{"type":"WEB","url":"https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00011.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25293.json"},{"type":"ADVISORY","url":"https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-92rq-c8cf-prrq"},{"type":"ADVISORY","url":"https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-hw46-3hmr-x9xv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25293"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20250314-0008/"},{"type":"ADVISORY","url":"https://securitylab.github.com/advisories/GHSL-2024-355_ruby-saml"},{"type":"FIX","url":"https://github.com/SAML-Toolkits/ruby-saml/commit/acac9e9cc0b9a507882c614f25d41f8b47be349a"},{"type":"FIX","url":"https://github.com/SAML-Toolkits/ruby-saml/commit/e2da4c6dae7dc01a4d9cd221395140a67e2b3eb1"},{"type":"ARTICLE","url":"https://github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentials"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:18.572147883Z"}}