{"id":"CVE-2023-41042","summary":"Discourse DoS via remote theme assets","details":"Discourse is an open-source discussion platform. Prior to version 3.1.1 of the `stable` branch and version 3.2.0.beta1 of the `beta` and `tests-passed` branches, importing a remote theme loads their assets into memory without enforcing limits for file size or number of files. The issue is patched in version 3.1.1 of the `stable` branch and version 3.2.0.beta1 of the `beta` and `tests-passed` branches. There are no known workarounds.","aliases":["BIT-discourse-2023-41042","GHSA-2fq5-x3mm-v254"],"modified":"2026-09-29T11:46:08.316655072Z","published":"2023-09-15T19:26:43.088Z","database_specific":{"cwe_ids":["CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/41xxx/CVE-2023-41042.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/41xxx/CVE-2023-41042.json"},{"type":"ADVISORY","url":"https://github.com/discourse/discourse/security/advisories/GHSA-2fq5-x3mm-v254"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-41042"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/discourse/discourse","events":[{"introduced":"61b51f9eb6e539825496ec00d58ce3ff53fdb578"},{"last_affected":"a9cc379121e30f86128677c71dbb42c30100598a"}],"database_specific":{"extracted_events":[{"introduced":"stable \u003c 3.1.1"},{"last_affected":"stable \u003c 3.1.1"},{"introduced":"beta \u003c 3.2.0.beta1"},{"last_affected":"beta \u003c 3.2.0.beta1"},{"introduced":"tests-passed \u003c 3.2.0.beta1"},{"last_affected":"tests-passed \u003c 3.2.0.beta1"}],"source":"AFFECTED_FIELD"}}],"versions":["beta \u003c 3.2.0.beta1","stable \u003c 3.1.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-41042.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"}]}