CVE Details
Basic Information
| Title | Ruby SAML DOS vulnerability with large SAML response |
|---|---|
| Type | cve |
| Published | 2025-07-30T14:05:43.820Z |
| Modified | 2025-07-30T14:17:41.057Z |
Product Information
| Vendor | SAML-Toolkits |
|---|---|
| Product | ruby-saml |
| Version | < 1.18.1 |
CVSS Information
| Base Score | 6.9 (MEDIUM) |
|---|---|
| Attack Vector | 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 |
AI Analysis
| AI Description | A denial-of-service vulnerability exists in the Ruby SAML library (versions 1.18.0 and below) due to improper validation of SAML responses, potentially leading to resource exhaustion. This issue is resolved in version 1.18.1. |
|---|---|
| AI Severity | Medium |
| AI Vendor | SAML-Toolkits |
| AI Product | Ruby SAML |
| AI Version | 1.18.0 and below |
Affected Products
- SAML-Toolkits ruby-saml < 1.18.1
Additional Information
| CWE List | CWE-400, CWE-770 |
|---|---|
| Source | GitHub_M |
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.