Advisory

GHSA-754f-8gm6-c4r2

Also known as: BIT-gitlab-2025-25292, CVE-2025-25292

Summary

Ruby SAML allows a SAML authentication bypass due to namespace handling (parser differential)

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2025-03-12 20:54 UTC
Modified
2026-02-04 02:52 UTC

Affected packages and fixes

ruby-saml

RubyGems · All systems

Affected

  • introduced 1.13.0, fixed 1.18.0 (ecosystem)

Fixed versions

1.18.0

Fix

The export has no generic command for this ecosystem.

ruby-saml

RubyGems · All systems

Affected

  • introduced 0, fixed 1.12.4 (ecosystem)

Fixed versions

1.12.4

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences