{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-30606",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-04-13T13:25:18.830Z",
        "datePublished": "2023-04-18T21:36:08.683Z",
        "dateUpdated": "2024-08-02T14:28:51.804Z"
    },
    "containers": {
        "cna": {
            "title": "Multisite denial of service through unsanitized dynamic dispatch to SiteSetting in Discourse",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-732",
                            "lang": "en",
                            "description": "CWE-732: Incorrect Permission Assignment for Critical Resource",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 4.2,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "HIGH",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/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-jj93-w3mv-3jvv",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/discourse/discourse/security/advisories/GHSA-jj93-w3mv-3jvv"
                }
            ],
            "affected": [
                {
                    "vendor": "discourse",
                    "product": "discourse",
                    "versions": [
                        {
                            "version": "stable: < 3.0.2",
                            "status": "affected"
                        },
                        {
                            "version": "beta: < 3.1.0.beta3",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-04-18T21:36:08.683Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Discourse is an open source platform for community discussion. In affected versions a user logged as an administrator can call arbitrary methods on the `SiteSetting` class, notably `#clear_cache!` and `#notify_changed!`, which when done on a multisite instance, can affect the entire cluster resulting in a denial of service. Users not running in multisite environments are not affected. This issue is patched in the latest stable, beta and tests-passed versions of Discourse. Users are advised to upgrade. There are no known workarounds for this vulnerability."
                }
            ],
            "source": {
                "advisory": "GHSA-jj93-w3mv-3jvv",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T14:28:51.804Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/discourse/discourse/security/advisories/GHSA-jj93-w3mv-3jvv",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/discourse/discourse/security/advisories/GHSA-jj93-w3mv-3jvv"
                    }
                ]
            }
        ]
    }
}