CVE-2024-45409
CVE-2024-45409 is a critical-severity vulnerability in Onelogin Ruby-saml with a CVSS 3.x base score of 10.0. Its EPSS exploit-prediction score of 11% places it in the 95th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-347.
Key facts
- Severity: Critical (CVSS 3.x base score 10.0)
- EPSS exploit prediction: 11% (95th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-2828
- Weakness: CWE-347
- Affected product: Onelogin Ruby-saml
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-45409?
- 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.
- How severe is CVE-2024-45409?
- CVE-2024-45409 has a CVSS 3.x base score of 10.0, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2024-45409 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 11% (95th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-45409?
- CVE-2024-45409 primarily affects Onelogin Ruby-saml. In total, 5 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2024-45409?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2024-45409 have an EU (EUVD) identifier?
- Yes. CVE-2024-45409 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-2828.
- When was CVE-2024-45409 published?
- CVE-2024-45409 was published on 2024-09-10 and last updated on 2026-06-17.
References
- https://github.com/SAML-Toolkits/ruby-saml/commit/1ec5392bc506fe43a02dbb66b68741051c5ffeae
- https://github.com/SAML-Toolkits/ruby-saml/commit/4865d030cae9705ee5cdb12415c654c634093ae7
- https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-jw9c-mfg7-9rx2
- https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-cvp8-5r8g-fhvq
- https://lists.debian.org/debian-lts-announce/2024/11/msg00006.html
- https://news.ycombinator.com/item?id=41586031
- https://security.netapp.com/advisory/ntap-20240926-0008/
- https://ssoready.com/blog/engineering/ruby-saml-pwned-by-xml-signature-wrapping-attacks/
Affected products (5)
- cpe:2.3:a:onelogin:ruby-saml:*:*:*:*:*:*:*:*
- cpe:2.3:a:omniauth:omniauth_saml:*:*:*:*:*:ruby:*:*
- cpe:2.3:a:omniauth:omniauth_saml:2.0.0:*:*:*:*:ruby:*:*
- cpe:2.3:a:omniauth:omniauth_saml:2.1.0:*:*:*:*:ruby:*:*
- cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*
More vulnerabilities in Onelogin Ruby-saml
- CVE-2025-25292 — Critical (CVSS 9.8): ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. An authentication bypass…
- CVE-2025-25291 — Critical (CVSS 9.8): ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. An authentication bypass…
- CVE-2015-20108 — Critical (CVSS 9.8): xml_security.rb in the ruby-saml gem before 1.0.0 for Ruby allows XPath injection and code execution because prepared…
- CVE-2025-66568 — Critical (CVSS 9.1): The ruby-saml library implements the client side of an SAML authorization. Versions up to and including 1.12.4, are…
- CVE-2025-66567 — Critical (CVSS 9.1): The ruby-saml library is for implementing the client side of a SAML authorization. ruby-saml versions up to and…
- CVE-2017-11428 — High (CVSS 7.7): OneLogin Ruby-SAML 1.6.0 and earlier may incorrectly utilize the results of XML DOM traversal and canonicalization APIs…
All CVEs affecting Onelogin Ruby-saml →
Other CWE-347 (Improper Verification of Cryptographic Signature) vulnerabilities
- CVE-2026-48558 — Critical (CVSS 10.0): SimpleHelp versions 5.5.15 and prior and 6.0 pre-release versions contain an authentication bypass vulnerability in the…
- CVE-2023-25574 — Critical (CVSS 10.0): `jupyterhub-ltiauthenticator` is a JupyterHub authenticator for learning tools interoperability (LTI).…
- CVE-2024-32962 — Critical (CVSS 10.0): xml-crypto is an xml digital signature and encryption library for Node.js. In affected versions the default…
- CVE-2022-24884 — Critical (CVSS 10.0): ecdsautils is a tiny collection of programs used for ECDSA (keygen, sign, verify). `ecdsa_verify_[prepare_]legacy()`…
- CVE-2021-33885 — Critical (CVSS 10.0): An Insufficient Verification of Data Authenticity vulnerability in B. Braun SpaceCom2 prior to 012U000062 allows a…
- CVE-2020-2021 — Critical (CVSS 10.0): When Security Assertion Markup Language (SAML) authentication is enabled and the 'Validate Identity Provider…
Browse all CWE-347 (Improper Verification of Cryptographic Signature) vulnerabilities →