{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-39952",
        "ASSIGNER": "security-advisories@github.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Nextcloud Server provides data storage for Nextcloud, an open source cloud platform. Starting in version 22.0.0 and prior to versions 22.2.10.13, 23.0.12.8, 24.0.12.4, 25.0.8, 26.0.3, and 27.0.1, a user can access files inside a subfolder of a groupfolder accessible to them, even if advanced permissions would block access to the subfolder. Nextcloud Server versions 25.0.8, 26.0.3, and 27.0.1 and Nextcloud Enterprise Server versions 22.2.10.13, 23.0.12.8, 24.0.12.4, 25.0.8, 26.0.3, and 27.0.1 contain a patch for this issue. No known workarounds are available."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-284: Improper Access Control",
                        "cweId": "CWE-284"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "nextcloud",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "security-advisories",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 22.0.0, < 22.2.10.13"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 23.0.0, < 23.0.12.8"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 24.0.0, < 24.0.12.4"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 25.0.0, < 25.0.8"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 26.0.0, < 26.0.3"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 27.0.0, < 27.0.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-cq8w-v4fh-4rjq",
                "refsource": "MISC",
                "name": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-cq8w-v4fh-4rjq"
            },
            {
                "url": "https://github.com/nextcloud/groupfolders/issues/1906",
                "refsource": "MISC",
                "name": "https://github.com/nextcloud/groupfolders/issues/1906"
            },
            {
                "url": "https://github.com/nextcloud/server/pull/38890",
                "refsource": "MISC",
                "name": "https://github.com/nextcloud/server/pull/38890"
            },
            {
                "url": "https://hackerone.com/reports/1808079",
                "refsource": "MISC",
                "name": "https://hackerone.com/reports/1808079"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-cq8w-v4fh-4rjq",
        "discovery": "UNKNOWN"
    },
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 6.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
                "version": "3.1"
            }
        ]
    }
}