{"id":"CVE-2024-45409","aliases":["BIT-gitlab-2024-45409","GHSA-jw9c-mfg7-9rx2"],"url":"https://o3.security/vulnerability/CVE-2024-45409","summary":"The Ruby SAML library vulnerable to a SAML authentication bypass via Incorrect XPath selector","details":"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.","published":"2024-09-10T18:50:12.965Z","modified":"2026-09-11T03:48:17.431901329Z","cvss":{"score":10,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N"},"epss":{"score":0.10684,"percentile":0.95553,"asOf":"2026-08-28"},"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"RubyGems","name":"ruby-saml","fixedVersion":"1.12.3"},{"ecosystem":"RubyGems","name":"ruby-saml","fixedVersion":"1.17.0"}],"fix":{"url":"https://github.com/SAML-Toolkits/ruby-saml/commit/1ec5392bc506fe43a02dbb66b68741051c5ffeae","label":"SAML-Toolkits/ruby-saml@1ec5392"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00006.html"},{"type":"WEB","url":"https://news.ycombinator.com/item?id=41586031"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45409.json"},{"type":"ADVISORY","url":"https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-jw9c-mfg7-9rx2"},{"type":"ADVISORY","url":"https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-cvp8-5r8g-fhvq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45409"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20240926-0008/"},{"type":"FIX","url":"https://github.com/SAML-Toolkits/ruby-saml/commit/1ec5392bc506fe43a02dbb66b68741051c5ffeae"},{"type":"FIX","url":"https://github.com/SAML-Toolkits/ruby-saml/commit/4865d030cae9705ee5cdb12415c654c634093ae7"},{"type":"ARTICLE","url":"https://ssoready.com/blog/engineering/ruby-saml-pwned-by-xml-signature-wrapping-attacks/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-11T03:48:17.431901329Z"}}