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


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
16.41% (97th 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-7926869
  • published11 Sept 2024
  • disclosed10 Sept 2024
  • creditahacker1

Introduced: 10 Sep 2024

CVE-2024-45409  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade ruby-saml to version 1.12.3, 1.17.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature through the incorrect XPath selector due to improper verification of the SAML Response signature. An attacker with access to any signed SAML document can forge a SAML Response/Assertion with arbitrary contents and log in as any user within the system.

CVSS Scores

version 4.0
version 3.1