CVE-2025-54572
EPSS 0.58%Ruby SAML DOS vulnerability with large SAML response
發布日:2025/7/30修改日:2026/4/28
描述
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.
受影響套件(3)
- Debian/ruby-samlfrom 0, < 1.11.0-1+deb11u3
- Debian/ruby-samlfrom 0, < 1.11.0-1+deb11u3
- RubyGems/ruby-samlfrom 0, < 1.18.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
參考連結(9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-54572
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-54572
- PATCHhttps://github.com/SAML-Toolkits/ruby-saml
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-54572.yml
- WEBhttps://github.com/SAML-Toolkits/ruby-saml/commit/38ef5dd1ce17514e202431f569c4f5633e6c2709
- WEBhttps://github.com/SAML-Toolkits/ruby-saml/pull/770
- WEBhttps://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.1
- WEBhttps://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-rrqh-93c8-j966
- WEBhttps://lists.debian.org/debian-lts-announce/2025/09/msg00001.html