{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-22402",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-01-10T15:09:55.547Z",
        "datePublished": "2024-01-18T20:23:54.714Z",
        "dateUpdated": "2024-08-01T22:43:34.860Z"
    },
    "containers": {
        "cna": {
            "title": "Improper handling of request URLs in Nextcloud Guests app allows guest users to bypass app allowlist",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-281",
                            "lang": "en",
                            "description": "CWE-281: Improper Preservation of Permissions",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 5.4,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-v3qw-7vgv-2fxj",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-v3qw-7vgv-2fxj"
                },
                {
                    "name": "https://github.com/nextcloud/guests/pull/1082",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/nextcloud/guests/pull/1082"
                },
                {
                    "name": "https://hackerone.com/reports/2251074",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://hackerone.com/reports/2251074"
                }
            ],
            "affected": [
                {
                    "vendor": "nextcloud",
                    "product": "security-advisories",
                    "versions": [
                        {
                            "version": ">= 2.4.0, < 2.4.1",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.5.0, < 2.5.1",
                            "status": "affected"
                        },
                        {
                            "version": ">= 3.0.0, < 3.0.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-01-19T12:46:30.558Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Nextcloud guests app is a utility to create guest users which can only see files shared with them. In affected versions users were able to load the first page of apps they were actually not allowed to access. Depending on the selection of apps installed this may present a permissions bypass. It is recommended that the Guests app is upgraded to 2.4.1, 2.5.1 or 3.0.1. There are no known workarounds for this vulnerability."
                }
            ],
            "source": {
                "advisory": "GHSA-v3qw-7vgv-2fxj",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-01T22:43:34.860Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-v3qw-7vgv-2fxj",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-v3qw-7vgv-2fxj"
                    },
                    {
                        "name": "https://github.com/nextcloud/guests/pull/1082",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/nextcloud/guests/pull/1082"
                    },
                    {
                        "name": "https://hackerone.com/reports/2251074",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://hackerone.com/reports/2251074"
                    }
                ]
            }
        ]
    }
}