Improper Verification of Cryptographic Signature Affecting ruby-saml package, versions <1.12.4>=1.13.0, <1.18.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUBY-RUBYSAML-9402844
  • published13 Mar 2025
  • disclosed12 Mar 2025
  • creditPeter Stöckli

Introduced: 12 Mar 2025

NewCVE-2025-25292  (opens in a new tab)
CWE-347  (opens in a new tab)
CWE-436  (opens in a new tab)

How to fix?

Upgrade ruby-saml to version 1.12.4, 1.18.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature due to differences in XML document namespace parsing between REXML and Nokogiri, implemented in xml_security.rb. An attacker can bypass authentication via Signature Wrapping attack.

CVSS Base Scores

version 4.0
version 3.1