VYPR
Critical severityNVD Advisory· Published Sep 10, 2024· Updated Nov 11, 2024

The Ruby SAML library vulnerable to a SAML authentication bypass via Incorrect XPath selector

CVE-2024-45409

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
ruby-samlRubyGems
< 1.12.31.12.3
ruby-samlRubyGems
>= 1.13.0, < 1.17.01.17.0

Affected products

17

Patches

Vulnerability mechanics

References

10

News mentions

3