CVE-2025-25293
ruby-saml provides security assertion markup language (SAML) single si ...
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-400
Affected packages · 2
Operating systems · 7 fixes
debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | ruby-saml | 1.11.0-1+deb11u2 |
| 12 | ruby-saml | affected |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| ruby-saml | affected |
ubuntu 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | ruby-saml | 1.7.2-1ubuntu0.1~esm2 |
| 20.04-ESM | ruby-saml | 1.11.0-1ubuntu0.1+esm1 |
| 22.04 | ruby-saml | affected |
| 24.04 | ruby-saml | affected |
References
- about.gitlab.com https://about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2-released
- github.blog https://github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentials
- github.com https://github.com/SAML-Toolkits/ruby-saml
- github.com https://github.com/SAML-Toolkits/ruby-saml/commit/acac9e9cc0b9a507882c614f25d41f8b47be349a
- github.com https://github.com/SAML-Toolkits/ruby-saml/commit/e2da4c6dae7dc01a4d9cd221395140a67e2b3eb1
- github.com https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.12.4
- github.com https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.0
- github.com https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-92rq-c8cf-prrq
- github.com https://github.com/advisories/GHSA-92rq-c8cf-prrq
- github.com https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-hw46-3hmr-x9xv
Show all 18 references
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-25293.yml
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/04/msg00011.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-25293
- security.netapp.com https://security.netapp.com/advisory/ntap-20250314-0008
- security.netapp.com https://security.netapp.com/advisory/ntap-20250314-0008/
- securitylab.github.com https://securitylab.github.com/advisories/GHSL-2024-355_ruby-saml
- ubuntu.com https://ubuntu.com/security/notices/USN-7409-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-25293
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.