{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-28107",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-03-10T18:34:29.227Z",
        "datePublished": "2023-03-17T16:23:31.324Z",
        "dateUpdated": "2024-08-02T12:30:24.666Z"
    },
    "containers": {
        "cna": {
            "title": "Discourse vulnerable to multisite DoS by spamming backups",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-770",
                            "lang": "en",
                            "description": "CWE-770: Allocation of Resources Without Limits or Throttling",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "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"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/discourse/discourse/security/advisories/GHSA-cp7c-fm4c-6xxx",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/discourse/discourse/security/advisories/GHSA-cp7c-fm4c-6xxx"
                },
                {
                    "name": "https://github.com/discourse/discourse/pull/20700",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/discourse/discourse/pull/20700"
                },
                {
                    "name": "https://github.com/discourse/discourse/pull/20701",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/discourse/discourse/pull/20701"
                },
                {
                    "name": "https://github.com/discourse/discourse/commit/0bd64788d2b4680c04fbef76314a24884d65fed9",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/discourse/discourse/commit/0bd64788d2b4680c04fbef76314a24884d65fed9"
                },
                {
                    "name": "https://github.com/discourse/discourse/commit/78a3efa7104eed6dd3ed7a06a71e2705337d9e61",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/discourse/discourse/commit/78a3efa7104eed6dd3ed7a06a71e2705337d9e61"
                }
            ],
            "affected": [
                {
                    "vendor": "discourse",
                    "product": "discourse",
                    "versions": [
                        {
                            "version": "stable < 3.0.2",
                            "status": "affected"
                        },
                        {
                            "version": "beta < 3.1.0.beta3",
                            "status": "affected"
                        },
                        {
                            "version": "tests-passed < 3.1.0.beta3",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-03-17T16:23:31.324Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "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."
                }
            ],
            "source": {
                "advisory": "GHSA-cp7c-fm4c-6xxx",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T12:30:24.666Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/discourse/discourse/security/advisories/GHSA-cp7c-fm4c-6xxx",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/discourse/discourse/security/advisories/GHSA-cp7c-fm4c-6xxx"
                    },
                    {
                        "name": "https://github.com/discourse/discourse/pull/20700",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/discourse/discourse/pull/20700"
                    },
                    {
                        "name": "https://github.com/discourse/discourse/pull/20701",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/discourse/discourse/pull/20701"
                    },
                    {
                        "name": "https://github.com/discourse/discourse/commit/0bd64788d2b4680c04fbef76314a24884d65fed9",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/discourse/discourse/commit/0bd64788d2b4680c04fbef76314a24884d65fed9"
                    },
                    {
                        "name": "https://github.com/discourse/discourse/commit/78a3efa7104eed6dd3ed7a06a71e2705337d9e61",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/discourse/discourse/commit/78a3efa7104eed6dd3ed7a06a71e2705337d9e61"
                    }
                ]
            }
        ]
    }
}