{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-37315",
        "ASSIGNER": "security-advisories@github.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Nextcloud Server is a self hosted personal cloud system. An attacker with read-only access to a file is able to restore older versions of a document when the files_versions app is enabled. It is recommended that the Nextcloud Server is upgraded to 26.0.12, 27.1.7 or 28.0.3 and that the Nextcloud Enterprise Server is upgraded to 23.0.12.16, 24.0.12.12, 25.0.13.6, 26.0.12, 27.1.7 or 28.0.3."
            }
        ]
    },
    "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": ">= 26.0.0, < 26.0.12"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 27.0.0, < 27.1.7"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 28.0.0, < 28.0.3"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5mq8-738w-5942",
                "refsource": "MISC",
                "name": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5mq8-738w-5942"
            },
            {
                "url": "https://github.com/nextcloud/server/pull/43727",
                "refsource": "MISC",
                "name": "https://github.com/nextcloud/server/pull/43727"
            },
            {
                "url": "https://hackerone.com/reports/1356508",
                "refsource": "MISC",
                "name": "https://hackerone.com/reports/1356508"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-5mq8-738w-5942",
        "discovery": "UNKNOWN"
    },
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 3.5,
                "baseSeverity": "LOW",
                "confidentialityImpact": "NONE",
                "integrityImpact": "LOW",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N",
                "version": "3.1"
            }
        ]
    }
}