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


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
17.67% (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-UBUNTU2004-RUBYSAML-7931880
  • published24 Jan 2025
  • disclosed10 Sept 2024

Introduced: 10 Sep 2024

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

How to fix?

There is no fixed version for Ubuntu:20.04 ruby-saml.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-saml package and not the ruby-saml package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

The Ruby SAML library is for implementing the client side of a SAML authorization. Ruby-SAML in <= 12.2 and 1.13.0 <= 1.16.0 does not properly verify the signature of the SAML Response. An unauthenticated attacker with access to any signed saml document (by the IdP) can thus forge a SAML Response/Assertion with arbitrary contents. This would allow the attacker to log in as arbitrary user within the vulnerable system. This vulnerability is fixed in 1.17.0 and 1.12.3.

CVSS Scores

version 3.1