CVE-2025-25291

9.8 CRITICAL
Published: March 12, 2025 Modified: November 03, 2025

Description

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 fix the issue.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.12.4
Source: security-advisories@github.com
Release Notes
https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.0
Source: security-advisories@github.com
Release Notes
https://portswigger.net/research/saml-roulette-the-hacker-always-wins
Source: security-advisories@github.com
Exploit Third Party Advisory
https://securitylab.github.com/advisories/GHSL-2024-329_GHSL-2024-330_ruby-saml
Source: security-advisories@github.com
Third Party Advisory
https://news.ycombinator.com/item?id=43374519
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking
https://security.netapp.com/advisory/ntap-20250314-0010/
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory

13 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.8 / 10.0
EPSS (Exploit Probability)
17.7%
95th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

onelogin omniauth netapp