{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-28643",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-03-20T12:19:47.209Z",
        "datePublished": "2023-03-30T18:31:31.609Z",
        "dateUpdated": "2024-08-02T13:43:23.546Z"
    },
    "containers": {
        "cna": {
            "title": "Potential share collision for recipients when caching is enabled in nextcloud server",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-706",
                            "lang": "en",
                            "description": "CWE-706: Use of Incorrectly-Resolved Name or Reference",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "LOW",
                        "baseScore": 5.5,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-hhq4-4pr8-wm27",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-hhq4-4pr8-wm27"
                },
                {
                    "name": "https://github.com/nextcloud/server/issues/34015",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/nextcloud/server/issues/34015"
                },
                {
                    "name": "https://github.com/nextcloud/server/pull/36047",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/nextcloud/server/pull/36047"
                }
            ],
            "affected": [
                {
                    "vendor": "nextcloud",
                    "product": "security-advisories",
                    "versions": [
                        {
                            "version": "< 24.0.9",
                            "status": "affected"
                        },
                        {
                            "version": ">= 25.0.0, < 25.0.3",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-03-30T18:31:31.609Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Nextcloud server is an open source home cloud implementation. In affected versions when a recipient receives 2 shares with the same name, while a memory cache is configured, the second share will replace the first one instead of being renamed to `{name} (2)`. It is recommended that the Nextcloud Server is upgraded to 25.0.3 or 24.0.9. Users unable to upgrade should avoid sharing 2 folders with the same name to the same user."
                }
            ],
            "source": {
                "advisory": "GHSA-hhq4-4pr8-wm27",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T13:43:23.546Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-hhq4-4pr8-wm27",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-hhq4-4pr8-wm27"
                    },
                    {
                        "name": "https://github.com/nextcloud/server/issues/34015",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/nextcloud/server/issues/34015"
                    },
                    {
                        "name": "https://github.com/nextcloud/server/pull/36047",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/nextcloud/server/pull/36047"
                    }
                ]
            }
        ]
    }
}