CVE-2025-54572
The Ruby SAML library is for implementing the client side of a SAML au ...
Overview
Description
The Ruby SAML library is for implementing the client side of a SAML authorization. In versions 1.18.0 and below, a denial-of-service vulnerability exists in ruby-saml even with the message_max_bytesize setting configured. The vulnerability occurs because the SAML response is validated for Base64 format prior to checking the message size, leading to potential resource exhaustion. This is fixed in version 1.18.1.
Source: OX vulnerability database
Severity
MEDIUM
No CVSS vector in the source. Severity comes from the advisory.
Weakness: CWE-400, CWE-770
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | ruby-saml | <1.18.1 | 1.18.1 |
Open a package to see all its vulnerabilities.
Operating systems · 4 fixes
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| gitlab-rails-ce-18-3 | 18.3.2-r0 |
debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | ruby-saml | 1.11.0-1+deb11u3 |
| 12 | ruby-saml | affected |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| ruby-saml | affected |
References
- github.com https://github.com/SAML-Toolkits/ruby-saml
- github.com https://github.com/SAML-Toolkits/ruby-saml/commit/38ef5dd1ce17514e202431f569c4f5633e6c2709
- github.com https://github.com/SAML-Toolkits/ruby-saml/pull/770
- github.com https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.1
- github.com https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-rrqh-93c8-j966
- github.com https://github.com/advisories/GHSA-rrqh-93c8-j966
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-54572.yml
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/09/msg00001.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-54572
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.