CVE Vulnerabilities

CVE-2025-25292

Improper Verification of Cryptographic Signature

Published: Mar 12, 2025 | Modified: Aug 01, 2025
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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. An authentication bypass vulnerability was found in ruby-saml prior to versions 1.12.4 and 1.18.0 due to a parser differential. ReXML and Nokogiri parse XML differently, the parsers can generate entirely different document structures from the same XML input. That allows an attacker to be able to execute a Signature Wrapping attack. This issue may lead to authentication bypass. Versions 1.12.4 and 1.18.0 contain a patch for the issue.

Weakness

The product does not verify, or incorrectly verifies, the cryptographic signature for data.

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 *

References