CVE-2025-54572
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-07-30

Last updated on: 2025-11-03

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-30
Last Modified
2025-11-03
Generated
2026-05-07
AI Q&A
2025-07-30
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
github ruby-saml 1.18.1
github ruby-saml 1.18.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-400 The product does not properly control the allocation and maintenance of a limited resource.
CWE-770 The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability exists in the Ruby SAML library versions 1.18.0 and below. It is a denial-of-service (DoS) vulnerability caused because the SAML response is validated for Base64 format before checking the message size. This sequence allows an attacker to send a large Base64-encoded message that can exhaust system resources, even if the message_max_bytesize setting is configured. The issue is fixed in version 1.18.1.


How can this vulnerability impact me? :

The vulnerability can lead to denial-of-service conditions by exhausting system resources when processing specially crafted SAML responses. This can cause the affected application or service using the Ruby SAML library to become unresponsive or crash, disrupting normal operations.


What immediate steps should I take to mitigate this vulnerability?

Upgrade the Ruby SAML library to version 1.18.1 or later, as this version contains the fix for the denial-of-service vulnerability.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart