{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-25293","id":"CVE-2025-25293","title":"ruby-saml vulnerable to Remote Denial of Service (DoS) with compressed SAML responses","description":"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 c","descriptionLong":"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","updated":"2026-10-28T02:31:11.849089725Z","reserved":"2025-02-06T17:13:33.122Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":7.7,"vector":"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":7.7,"vector":"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":7.7,"vector":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"github.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["SAML-Toolkits ruby-saml"],"affectedProducts":[{"vendor":"SAML-Toolkits","product":"ruby-saml","defaultStatus":null,"versions":[{"version":"< 1.12.4","status":"affected"},{"version":">= 1.13.0, < 1.18.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"ruby-saml","purl":"pkg:gem/ruby-saml","ranges":["<1.12.4",">=1.13.0 <1.18.0"],"fixed":["1.12.4","1.18.0"],"advisory":"GHSA-92rq-c8cf-prrq"}],"cwes":["CWE-400","CWE-770"],"aliases":["BIT-gitlab-2025-25293","GHSA-92rq-c8cf-prrq"],"references":[{"url":"https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-92rq-c8cf-prrq","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-hw46-3hmr-x9xv","tags":["x_refsource_MISC","Vendor Advisory","advisory","web"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml/commit/acac9e9cc0b9a507882c614f25d41f8b47be349a","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml/commit/e2da4c6dae7dc01a4d9cd221395140a67e2b3eb1","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2-released","tags":["x_refsource_MISC","Patch","web"]},{"url":"https://github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentials","tags":["x_refsource_MISC","Exploit","Third Party Advisory","article","web"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.12.4","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.0","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://securitylab.github.com/advisories/GHSL-2024-355_ruby-saml","tags":["x_refsource_MISC","Exploit","Third Party Advisory","advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20250314-0008/","tags":["Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00011.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25293.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25293","tags":["advisory"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-25293.yml","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20250314-0008","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.01528,"epssPercentile":0.75233,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-25293","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25293","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-25293","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-92rq-c8cf-prrq","ok":true,"note":"GHSA-92rq-c8cf-prrq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-25293","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}