Security mailing lists by PureSourceCode

CVE-2024-45409

CRITICAL 9.8CVSS 3.1

SAML authentication bypass via Incorrect XPath selector

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
10 Sep 2024
Last modified
4 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-347
Also known as
BIT-gitlab-2024-45409GHSA-jw9c-mfg7-9rx2
Sources
NVDJSONOSV GHSA-jw9c-mfg7-9rx2JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
OSV GitHub CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD onelogin ruby-saml
cpe:2.3:a:onelogin:ruby-saml:*:*:*:*:*:*:*:*
< 1.12.3 1.12.3
NVD onelogin ruby-saml
cpe:2.3:a:onelogin:ruby-saml:*:*:*:*:*:*:*:*
>= 1.13.0, < 1.17.0 1.17.0
NVD omniauth omniauth_saml
cpe:2.3:a:omniauth:omniauth_saml:*:*:*:*:*:ruby:*:*
<= 1.10.3
NVD omniauth omniauth_saml
cpe:2.3:a:omniauth:omniauth_saml:2.0.0:*:*:*:*:ruby:*:*
= 2.0.0
NVD omniauth omniauth_saml
cpe:2.3:a:omniauth:omniauth_saml:2.1.0:*:*:*:*:ruby:*:*
= 2.1.0
NVD gitlab gitlab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*
< 16.11.10 16.11.10
NVD gitlab gitlab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*
>= 17.0.0, < 17.0.8 17.0.8
NVD gitlab gitlab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*
>= 17.1.0, < 17.1.8 17.1.8
NVD gitlab gitlab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*
>= 17.2.0, < 17.2.7 17.2.7
NVD gitlab gitlab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*
>= 17.3.0, < 17.3.3 17.3.3
OSV RubyGems ruby-saml < 1.12.3 1.12.3
OSV RubyGems ruby-saml >= 1.13.0, < 1.17.0 1.17.0

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 10 Sep 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Sep 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.