{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-22400",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-01-10T15:09:55.546Z",
        "datePublished": "2024-01-18T19:21:06.618Z",
        "dateUpdated": "2024-08-01T22:43:34.917Z"
    },
    "containers": {
        "cna": {
            "title": "Open redirect in user_saml via RelayState parameter in Nextcloud User Saml",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-601",
                            "lang": "en",
                            "description": "CWE-601: URL Redirection to Untrusted Site ('Open Redirect')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 3.1,
                        "baseSeverity": "LOW",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-622q-xhfr-xmv7",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-622q-xhfr-xmv7"
                },
                {
                    "name": "https://github.com/nextcloud/user_saml/pull/788",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/nextcloud/user_saml/pull/788"
                },
                {
                    "name": "https://github.com/nextcloud/user_saml/commit/b184304a476deeba36e92b70562d5de7c2f85f8a",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/nextcloud/user_saml/commit/b184304a476deeba36e92b70562d5de7c2f85f8a"
                },
                {
                    "name": "https://hackerone.com/reports/2263044",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://hackerone.com/reports/2263044"
                }
            ],
            "affected": [
                {
                    "vendor": "nextcloud",
                    "product": "security-advisories",
                    "versions": [
                        {
                            "version": ">= 5.0.0, < 5.1.5",
                            "status": "affected"
                        },
                        {
                            "version": ">= 5.2.0, < 5.2.5",
                            "status": "affected"
                        },
                        {
                            "version": ">= 6.0.0, < 6.0.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-01-18T19:21:06.618Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Nextcloud User Saml is an app for authenticating Nextcloud users using SAML. In affected versions users can be given a link to the Nextcloud server and end up on a uncontrolled thirdparty server. It is recommended that the User Saml app is upgraded to version 5.1.5, 5.2.5, or 6.0.1. There are no known workarounds for this issue."
                }
            ],
            "source": {
                "advisory": "GHSA-622q-xhfr-xmv7",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-01T22:43:34.917Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-622q-xhfr-xmv7",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-622q-xhfr-xmv7"
                    },
                    {
                        "name": "https://github.com/nextcloud/user_saml/pull/788",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/nextcloud/user_saml/pull/788"
                    },
                    {
                        "name": "https://github.com/nextcloud/user_saml/commit/b184304a476deeba36e92b70562d5de7c2f85f8a",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/nextcloud/user_saml/commit/b184304a476deeba36e92b70562d5de7c2f85f8a"
                    },
                    {
                        "name": "https://hackerone.com/reports/2263044",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://hackerone.com/reports/2263044"
                    }
                ]
            }
        ]
    }
}