Improper Verification of Cryptographic Signature Affecting ruby-saml package, versions <1.18.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

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-14222436
  • published9 Dec 2025
  • disclosed8 Dec 2025
  • creditd0ge

Introduced: 8 Dec 2025

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

How to fix?

Upgrade ruby-saml to version 1.18.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature via the libxml2 canonicalization process. An attacker can bypass authentication and replay signatures by crafting XML input that causes canonicalization to yield an empty string, leading to incorrect validation.

References

CVSS Base Scores

version 4.0
version 3.1