{"id":"GHSA-92rq-c8cf-prrq","summary":"Ruby SAML allows remote Denial of Service (DoS) with compressed SAML responses","details":"### Summary\nruby-saml is susceptible to remote Denial of Service (DoS) with compressed SAML responses.\n\nRuby-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.\n\n### Impact\nThis issue may lead to remote Denial of Service (DoS).","aliases":["BIT-gitlab-2025-25293","CVE-2025-25293"],"modified":"2026-02-04T04:10:40.237241Z","published":"2025-03-12T20:16:50Z","related":["CVE-2025-25293"],"database_specific":{"severity":"HIGH","github_reviewed_at":"2025-03-12T20:16:50Z","nvd_published_at":"2025-03-12T21:15:42Z","github_reviewed":true,"cwe_ids":["CWE-400","CWE-770"]},"references":[{"type":"WEB","url":"https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-92rq-c8cf-prrq"},{"type":"WEB","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":"WEB","url":"https://github.com/SAML-Toolkits/ruby-saml/commit/acac9e9cc0b9a507882c614f25d41f8b47be349a"},{"type":"WEB","url":"https://github.com/SAML-Toolkits/ruby-saml/commit/e2da4c6dae7dc01a4d9cd221395140a67e2b3eb1"},{"type":"WEB","url":"https://about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2-released"},{"type":"WEB","url":"https://github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentials"},{"type":"PACKAGE","url":"https://github.com/SAML-Toolkits/ruby-saml"},{"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://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-25293.yml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00011.html"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20250314-0008"},{"type":"ADVISORY","url":"https://securitylab.github.com/advisories/GHSL-2024-355_ruby-saml"}],"affected":[{"package":{"name":"ruby-saml","ecosystem":"RubyGems","purl":"pkg:gem/ruby-saml"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.4"}]}],"versions":["0.0.5","0.0.6","0.0.7","0.0.8","0.2.1","0.2.2","0.2.3","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.4.6","0.4.7","0.5.0","0.5.1","0.5.2","0.5.3","0.6.0","0.7.0","0.7.1","0.7.2","0.7.3","0.8.0","0.8.1","0.8.10","0.8.11","0.8.12","0.8.13","0.8.14","0.8.15","0.8.16","0.8.17","0.8.18","0.8.2","0.8.3","0.8.4","0.8.5","0.8.6","0.8.7","0.8.8","0.8.9","0.9","0.9.1","0.9.2","0.9.3","0.9.4","1.0.0","1.1.0","1.1.1","1.1.2","1.10.0","1.10.1","1.10.2","1.11.0","1.12.0","1.12.1","1.12.2","1.12.3","1.2.0","1.3.0","1.3.1","1.4.0","1.4.1","1.4.2","1.4.3","1.5.0","1.6.0","1.6.1","1.6.2","1.7.0","1.7.1","1.7.2","1.8.0","1.9.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-92rq-c8cf-prrq/GHSA-92rq-c8cf-prrq.json"}},{"package":{"name":"ruby-saml","ecosystem":"RubyGems","purl":"pkg:gem/ruby-saml"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.13.0"},{"fixed":"1.18.0"}]}],"versions":["1.13.0","1.14.0","1.15.0","1.16.0","1.17.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-92rq-c8cf-prrq/GHSA-92rq-c8cf-prrq.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P"}]}