CVE-2024-45409

Source
https://cve.org/CVERecord?id=CVE-2024-45409
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-45409.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-45409
Aliases
Downstream
Related
Published
2024-09-10T18:50:12.965Z
Modified
2026-04-16T03:46:58.760290Z
Severity
  • 10.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N CVSS Calculator
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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45409.json",
    "cwe_ids": [
        "CWE-347"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/omniauth/omniauth-saml

Affected ranges

Type
GIT
Repo
https://github.com/omniauth/omniauth-saml
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.10.3"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.0.0"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.1.0"
        }
    ]
}
Type
GIT
Repo
https://github.com/onelogin/ruby-saml
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.12.3"
        },
        {
            "introduced": "1.13.0"
        },
        {
            "fixed": "1.17.0"
        }
    ]
}
Type
GIT
Repo
https://github.com/saml-toolkits/ruby-saml
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Type
GIT
Repo
https://gitlab.com/gitlab-org/gitlab
Events
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "16.11.10"
        },
        {
            "introduced": "17.0.0"
        },
        {
            "fixed": "17.0.8"
        },
        {
            "introduced": "17.1.0"
        },
        {
            "fixed": "17.1.8"
        },
        {
            "introduced": "17.2.0"
        },
        {
            "fixed": "17.2.7"
        },
        {
            "introduced": "17.3.0"
        },
        {
            "fixed": "17.3.3"
        }
    ]
}

Affected versions

0.*
0.7.3
0.8.0
0.8.1
1.*
1.3.1
1.4.0
1.4.1
1.4.2
1.4.3
1.5.0
Other
11-10-0cfa69752d8-0d9531c80-ee
11-10-0cfa69752d8-74ffd66ae-ee
11-10-119f9509d50-6d7537235-ee
v0.*
v0.2.0
v0.2.1
v0.2.2
v0.2.3
v0.3.0
v0.3.1
v0.3.2
v0.3.3
v0.3.4
v0.4.0
v0.4.1
v0.4.2
v0.4.3
v0.4.4
v0.4.5
v0.4.6
v0.4.7
v0.5.0
v0.5.1
v0.5.2
v0.5.3
v0.6.0
v0.7.1
v0.9
v0.9.0
v0.9.1
v0.9.2
v1.*
v1.0.0
v1.1.0
v1.1.1
v1.1.2
v1.10.0
v1.10.1
v1.10.2
v1.10.3
v1.11.0
v1.12.0
v1.12.1
v1.12.2
v1.14.0
v1.15.0
v1.16.0
v1.2.0
v1.2.0pre
v1.2.1
v1.2.2
v1.3.0
v1.3.1
v1.4.0
v1.4.1
v1.4.2
v1.5.0
v1.6.0
v1.6.1
v1.6.2
v1.7.0
v1.7.1
v1.7.2
v1.8.0
v1.8.1
v1.9.0
v16.*
v16.11.0-ee
v16.11.0-rc42-ee
v16.11.3-rc42-ee
v16.11.7-ee
v16.11.8-ee
v16.11.9-ee
v17.*
v17.0.0-ee
v17.0.1-rc42-ee
v17.0.7-ee
v17.1.0-ee
v17.2.0-ee
v17.2.6-ee
v17.3.0-ee
v2.*
v2.0.0
v2.1.0
v2.3.0
v2.3.0pre
v2.3.1
v2.4.0
v2.4.0pre
v2.4.1
v2.5.0
v2.6.0
v2.6.0pre
v2.6.1
v2.6.2
v2.6.3
v2.7.0
v2.7.0pre
v2.8.0
v2.8.0pre
v2.8.1
v2.8.2
v2.9.0
v2.9.1
v3.*
v3.0.0
v3.0.1
v3.0.2
v3.0.3
v3.1.0
v4.*
v4.0.0
v4.0.0rc1
v4.0.0rc2
v5.*
v5.0.0
v5.1.0
v5.2.0
v6.*
v6.0.0-ee
v6.0.0-ee.beta
v6.0.0-ee.rc1
v6.1.0-ee
v6.3.0-ee
v6.3.1-ee
v6.4.0-ee
v6.5.0-ee
v6.6.0-ee
v6.7.0-ee
v6.7.0.rc1-ee
v6.8.0-ee
v7.*
v7.0.0-ee
v7.1.0-ee
v7.1.0.rc1-ee
v7.2.0.rc1-ee
v7.2.0.rc2-ee
v7.2.0.rc3-ee
v7.2.0.rc4-ee
v7.2.0.rc5-ee
v7.3.0-ee
v7.3.0.rc1-ee

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-45409.json"