logo

CVE-2025-25292 ruby-saml

Package

Manager: gem
Name: ruby-saml
Vulnerable Version: >=1.13.0 <1.18.0 || >=0 <1.12.4

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

EPSS: 0.03205 pctl0.86517

Details

Ruby SAML allows a SAML authentication bypass due to namespace handling (parser differential) ### Summary An authentication bypass vulnerability was found in ruby-saml 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. ### Impact This issue may lead to authentication bypass.

Metadata

Created: 2025-03-12T20:54:42Z
Modified: 2025-03-20T13:23:13Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-754f-8gm6-c4r2/GHSA-754f-8gm6-c4r2.json
CWE IDs: ["CWE-347", "CWE-436"]
Alternative ID: GHSA-754f-8gm6-c4r2
Finding: F204
Auto approve: 1