Skip to main content

Uncontrolled Resource Consumption

CVE-2025-25293

Severity High
Score 8.7/10

Summary

The package ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. In ruby-saml package versions through 1.12.3, and 1.13.0 through 1.17.0, it 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. Versions 1.12.4 and 1.18.0 fix the issue.

CWE-400 - Uncontrolled resource consumption

An uncontrolled resource allocation attack (also known as resource exhaustion attack) triggers unauthorized overconsumption of the limited resources in an application, such as memory, file system storage, database connection pool entries, and CPU. This may lead to denial of service for valid users and degradation of the application's functionality as well as that of the host operating system.

Advisory Timeline

  • Published