{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-23622",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-01-16T17:07:46.243Z",
        "datePublished": "2023-03-17T14:17:17.427Z",
        "dateUpdated": "2024-08-02T10:35:33.636Z"
    },
    "containers": {
        "cna": {
            "title": "Discourse: Presence of read restricted topics may be leaked if tagged with a tag that is visible to all users",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-200",
                            "lang": "en",
                            "description": "CWE-200: Exposure of Sensitive Information to an Unauthorized Actor",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 4.3,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/discourse/discourse/security/advisories/GHSA-2wvr-4x7w-v795",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/discourse/discourse/security/advisories/GHSA-2wvr-4x7w-v795"
                },
                {
                    "name": "https://github.com/discourse/discourse/pull/20004",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/discourse/discourse/pull/20004"
                },
                {
                    "name": "https://github.com/discourse/discourse/pull/20005",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/discourse/discourse/pull/20005"
                },
                {
                    "name": "https://github.com/discourse/discourse/commit/105fee978d73b0ec23ff814a09d1c0c9ace95164",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/discourse/discourse/commit/105fee978d73b0ec23ff814a09d1c0c9ace95164"
                },
                {
                    "name": "https://github.com/discourse/discourse/commit/ecb9aa5dba94741d9579f4f873f0675f48b4184f",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/discourse/discourse/commit/ecb9aa5dba94741d9579f4f873f0675f48b4184f"
                }
            ],
            "affected": [
                {
                    "vendor": "discourse",
                    "product": "discourse",
                    "versions": [
                        {
                            "version": "stable < 3.0.1",
                            "status": "affected"
                        },
                        {
                            "version": "beta < 3.1.0.beta2",
                            "status": "affected"
                        },
                        {
                            "version": "tests-passed < 3.1.0.beta2",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-03-17T14:17:17.427Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Discourse is an open-source discussion platform. Prior to version 3.0.1 of the `stable` branch and version 3.1.0.beta2 of the `beta` and `tests-passed` branches, the count of topics displayed for a tag is a count of all regular topics regardless of whether the topic is in a read restricted category or not. As a result, any users can technically poll a sensitive tag to determine if a new topic is created in a category which the user does not have excess to. \n\nIn version 3.0.1 of the `stable` branch and version 3.1.0.beta2 of the `beta` and `tests-passed` branches, the count of topics displayed for a tag defaults to only counting regular topics which are not in read restricted categories. Staff users will continue to see a count of all topics regardless of the topic's category read restrictions."
                }
            ],
            "source": {
                "advisory": "GHSA-2wvr-4x7w-v795",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T10:35:33.636Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/discourse/discourse/security/advisories/GHSA-2wvr-4x7w-v795",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/discourse/discourse/security/advisories/GHSA-2wvr-4x7w-v795"
                    },
                    {
                        "name": "https://github.com/discourse/discourse/pull/20004",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/discourse/discourse/pull/20004"
                    },
                    {
                        "name": "https://github.com/discourse/discourse/pull/20005",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/discourse/discourse/pull/20005"
                    },
                    {
                        "name": "https://github.com/discourse/discourse/commit/105fee978d73b0ec23ff814a09d1c0c9ace95164",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/discourse/discourse/commit/105fee978d73b0ec23ff814a09d1c0c9ace95164"
                    },
                    {
                        "name": "https://github.com/discourse/discourse/commit/ecb9aa5dba94741d9579f4f873f0675f48b4184f",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/discourse/discourse/commit/ecb9aa5dba94741d9579f4f873f0675f48b4184f"
                    }
                ]
            }
        ]
    }
}