{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-39958",
        "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.5, 25.0.9, 26.0.4, and 27.0.1, missing protection allows an attacker to brute force the client secrets of configured OAuth2 clients. Nextcloud Server versions 25.0.9, 26.0.4, and 27.0.1 and Nextcloud Enterprise Server versions 22.2.10.13, 23.0.12.8, 24.0.12.5, 25.0.9, 26.0.4, and 27.0.1 contain a patch for this issue. No known workarounds are available."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-307: Improper Restriction of Excessive Authentication Attempts",
                        "cweId": "CWE-307"
                    }
                ]
            }
        ]
    },
    "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.5"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 25.0.0, < 25.0.9"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 26.0.0, < 26.0.4"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 27.0.0, < 27.0.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-vv27-g2hq-v48h",
                "refsource": "MISC",
                "name": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-vv27-g2hq-v48h"
            },
            {
                "url": "https://github.com/nextcloud/server/pull/38773",
                "refsource": "MISC",
                "name": "https://github.com/nextcloud/server/pull/38773"
            },
            {
                "url": "https://hackerone.com/reports/1258448",
                "refsource": "MISC",
                "name": "https://hackerone.com/reports/1258448"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-vv27-g2hq-v48h",
        "discovery": "UNKNOWN"
    },
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 5.8,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N",
                "version": "3.1"
            }
        ]
    }
}