CVE Vulnerabilities

CVE-2025-25293

Uncontrolled Resource Consumption

Published: Mar 12, 2025 | Modified: Sep 12, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Prior to versions 1.12.4 and 1.18.0, ruby-saml is susceptible to remote Denial of Service (DoS) with compressed SAML responses. ruby-saml uses zlib to decompress SAML responses in case theyre 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. This issue may lead to remote Denial of Service (DoS). Versions 1.12.4 and 1.18.0 fix the issue.

Weakness

The product does not properly control the allocation and maintenance of a limited resource.

Affected Software

Name Vendor Start Version End Version
Omniauth_saml Omniauth * 1.10.6 (excluding)
Omniauth_saml Omniauth 2.0.0 (including) 2.1.3 (excluding)
Omniauth_saml Omniauth 2.2.0 (including) 2.2.3 (excluding)
Ruby-saml Onelogin * 1.12.4 (excluding)
Ruby-saml Onelogin 1.13.0 (including) 1.18.0 (excluding)
Ruby-saml Ubuntu esm-apps/bionic *
Ruby-saml Ubuntu esm-apps/focal *
Ruby-saml Ubuntu esm-apps/jammy *
Ruby-saml Ubuntu esm-apps/noble *
Ruby-saml Ubuntu esm-apps/xenial *
Ruby-saml Ubuntu focal *
Ruby-saml Ubuntu jammy *
Ruby-saml Ubuntu noble *
Ruby-saml Ubuntu oracular *
Ruby-saml Ubuntu upstream *

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References