{ "data_version": "4.0", "data_type": "CVE", "data_format": "MITRE", "CVE_data_meta": { "ID": "CVE-2023-31142", "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.4 of the `stable` branch and version 3.1.0.beta5 of the `beta` and `tests-passed` branches, if a site has modified their general category permissions, they could be set back to the default. This issue is patched in version 3.0.4 of the `stable` branch and version 3.1.0.beta5 of the `beta` and `tests-passed` branches. A workaround, only if you are modifying the general category permissions, is to use a new category for the same purpose." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-732: Incorrect Permission Assignment for Critical Resource", "cweId": "CWE-732" } ] } ] }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "discourse", "product": { "product_data": [ { "product_name": "discourse", "version": { "version_data": [ { "version_affected": "=", "version_value": "< 3.0.4" }, { "version_affected": "=", "version_value": ">= 3.1.0.beta1, < 3.1.0.beta5" } ] } } ] } } ] } }, "references": { "reference_data": [ { "url": "https://github.com/discourse/discourse/security/advisories/GHSA-286w-97m2-78x2", "refsource": "MISC", "name": "https://github.com/discourse/discourse/security/advisories/GHSA-286w-97m2-78x2" } ] }, "source": { "advisory": "GHSA-286w-97m2-78x2", "discovery": "UNKNOWN" }, "impact": { "cvss": [ { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 2, "baseSeverity": "LOW", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "privilegesRequired": "HIGH", "scope": "UNCHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N", "version": "3.1" } ] } }