{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-28107",
        "ASSIGNER": "security-advisories@github.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Discourse is an open-source discussion platform. Prior to version 3.0.2 of the `stable` branch and version 3.1.0.beta3 of the `beta` and `tests-passed` branches, a user logged as an administrator can request backups multiple times, which will eat up all the connections to the DB. If this is done on a site using multisite, then it can affect the whole cluster. The vulnerability is patched in version 3.0.2 of the `stable` branch and version 3.1.0.beta3 of the `beta` and `tests-passed` branches. There are no known workarounds."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-770: Allocation of Resources Without Limits or Throttling",
                        "cweId": "CWE-770"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "discourse",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "discourse",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "stable < 3.0.2"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "beta < 3.1.0.beta3"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "tests-passed < 3.1.0.beta3"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/discourse/discourse/security/advisories/GHSA-cp7c-fm4c-6xxx",
                "refsource": "MISC",
                "name": "https://github.com/discourse/discourse/security/advisories/GHSA-cp7c-fm4c-6xxx"
            },
            {
                "url": "https://github.com/discourse/discourse/pull/20700",
                "refsource": "MISC",
                "name": "https://github.com/discourse/discourse/pull/20700"
            },
            {
                "url": "https://github.com/discourse/discourse/pull/20701",
                "refsource": "MISC",
                "name": "https://github.com/discourse/discourse/pull/20701"
            },
            {
                "url": "https://github.com/discourse/discourse/commit/0bd64788d2b4680c04fbef76314a24884d65fed9",
                "refsource": "MISC",
                "name": "https://github.com/discourse/discourse/commit/0bd64788d2b4680c04fbef76314a24884d65fed9"
            },
            {
                "url": "https://github.com/discourse/discourse/commit/78a3efa7104eed6dd3ed7a06a71e2705337d9e61",
                "refsource": "MISC",
                "name": "https://github.com/discourse/discourse/commit/78a3efa7104eed6dd3ed7a06a71e2705337d9e61"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-cp7c-fm4c-6xxx",
        "discovery": "UNKNOWN"
    },
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 4.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "HIGH",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H",
                "version": "3.1"
            }
        ]
    }
}