{"schemaVersion":3,"id":"CVE-2025-25293","aliases":["UBUNTU-CVE-2025-25293","DEBIAN-CVE-2025-25293","GHSA-92rq-c8cf-prrq","BIT-gitlab-2025-25293"],"status":"published","duplicateOf":null,"title":null,"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 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.","dates":{"published":"2025-03-12T20:11:08.860Z","modified":"2025-11-03T19:45:02.622Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.7,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Rubygems","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Rubygems","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.7,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01528,"percentile":0.74341,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.029000000000000033,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01499},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01528,"percentile":0.74341}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01499,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01528,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01528,"percentile":0.74341}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_ADVISORIES_GHSL-2024-355_RUBY-SAML","name":"Ghsl 2024 355 Ruby Saml","source":"github","url":"https://securitylab.github.com/advisories/GHSL-2024-355_ruby-saml","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_FADAA92AF1B07EB0","name":"Exploit Reference (github.blog)","source":"reference","url":"https://github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentials","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"}],"affected":[{"vendor":"debian","product":"ruby-saml","name":"ruby-saml","label":"ruby-saml","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ruby-saml","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ruby-saml","name":"ruby-saml","label":"ruby-saml","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby-saml","purlType":"deb","versions":[{"text":"< 1.1.2-1ubuntu1+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.7.2-1ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.11.0-1ubuntu0.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.13.0-1ubuntu0.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.15.0-1ubuntu0.24.04.1+esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1.2-1ubuntu1+esm2 | < 1.7.2-1ubuntu0.1~esm2 | < 1.11.0-1ubuntu0.1+esm1 | < 1.13.0-1ubuntu0.1+esm1 | < 1.15.0-1ubuntu0.24.04.1+esm1","eol":null,"hubHref":null},{"vendor":"RubyGems","product":"ruby-saml","name":"ruby-saml","label":"ruby-saml","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/ruby-saml","purlType":"gem","versions":[{"text":"< 1.12.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.13.0, < 1.18.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.4 | ≥ 1.13.0, < 1.18.0","eol":null,"hubHref":null},{"vendor":"omniauth","product":"omniauth_saml","name":"omniauth saml","label":"omniauth_saml","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.10.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.1.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.2.0, < 2.2.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.6 | ≥ 2.0.0, < 2.1.3 | ≥ 2.2.0, < 2.2.3","eol":null,"hubHref":"/vendor/omniauth/omniauth_saml"},{"vendor":"onelogin","product":"ruby-saml","name":"ruby-saml","label":"ruby-saml","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.12.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.13.0, < 1.18.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.4 | ≥ 1.13.0, < 1.18.0","eol":null,"hubHref":"/vendor/onelogin/ruby-saml"},{"vendor":"saml-toolkits","product":"ruby-saml","name":"ruby-saml","label":"ruby-saml","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.12.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.13.0, < 1.18.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.4 | ≥ 1.13.0, < 1.18.0","eol":null,"hubHref":"/vendor/saml-toolkits/ruby-saml"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-92rq-c8cf-prrq","label":"github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-92rq-c8cf-prrq","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB","Vendor Advisory"]},{"url":"https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-hw46-3hmr-x9xv","label":"github.com/omniauth/omniauth-saml/security/advisories/GHSA-hw46-3hmr-x9xv","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Vendor Advisory"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml/commit/acac9e9cc0b9a507882c614f25d41f8b47be349a","label":"github.com/SAML-Toolkits/ruby-saml/commit/acac9e9cc0b9a507882c614f25d41f8b47be349a","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Patch"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml/commit/e2da4c6dae7dc01a4d9cd221395140a67e2b3eb1","label":"github.com/SAML-Toolkits/ruby-saml/commit/e2da4c6dae7dc01a4d9cd221395140a67e2b3eb1","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Patch"]},{"url":"https://about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2-released","label":"about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2-released","hostname":"about.gitlab.com","tags":["X Refsource MISC","REPORT","WEB","Patch"]},{"url":"https://github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentials","label":"github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentials","hostname":"github.blog","tags":["X Refsource MISC","REPORT","WEB","Exploit","Third Party Advisory"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.12.4","label":"github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.12.4","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Release Notes"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.0","label":"github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.0","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Release Notes"]},{"url":"https://securitylab.github.com/advisories/GHSL-2024-355_ruby-saml","label":"securitylab.github.com/advisories/GHSL-2024-355_ruby-saml","hostname":"securitylab.github.com","tags":["X Refsource MISC","Advisory","Exploit","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20250314-0008/","label":"security.netapp.com/advisory/ntap-20250314-0008/","hostname":"security.netapp.com","tags":["Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00011.html","label":"lists.debian.org/debian-lts-announce/2025/04/msg00011.html","hostname":"lists.debian.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2025-25293","label":"ubuntu.com/security/CVE-2025-25293","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-25293","label":"www.cve.org/CVERecord?id=CVE-2025-25293","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7409-1","label":"ubuntu.com/security/notices/USN-7409-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-25293","label":"security-tracker.debian.org/tracker/CVE-2025-25293","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25293","label":"nvd.nist.gov/vuln/detail/CVE-2025-25293","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml","label":"github.com/SAML-Toolkits/ruby-saml","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-25293.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-25293.yml","hostname":"github.com","tags":["WEB"]},{"url":"https://security.netapp.com/advisory/ntap-20250314-0008","label":"security.netapp.com/advisory/ntap-20250314-0008","hostname":"security.netapp.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["DLA-4115-1","USN-7409-1"],"duplicates":[],"related":["GHSA-HW46-3HMR-X9XV","USN-7409-1"]},"timeline":[{"kind":"published","date":"2025-03-12T20:11:08.860Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-03T19:45:02.622Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:03:37.483Z","stale":false,"partial":false}}