{"id":"CVE-2021-43794","state":"PUBLISHED","title":"Anonymous user cache poisoning via development-mode header in Discourse","description":"Discourse is an open source discussion platform. In affected versions an attacker can poison the cache for anonymous (i.e. not logged in) users, such that the users are shown a JSON blob instead of the HTML page. This can lead to a partial denial-of-service. This issue is patched in the latest stable, beta and tests-passed versions of Discourse.","publishedAt":"2021-12-01T19:40:10.000Z","updatedAt":"2024-08-04T04:03:08.879Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["discourse discourse"],"affected":[{"vendor":"discourse","product":"discourse","versions":[{"version":"stable < 2.7.11","status":"affected"},{"version":"beta < 2.8.0.beta9","status":"affected"},{"version":"tests-passed < 2.8.0.beta9","status":"affected"}]}],"references":["https://github.com/discourse/discourse/commit/2da0001965c6d8632d723c46ea5df9f22a1a23f1","https://github.com/discourse/discourse/security/advisories/GHSA-249g-pc77-65hp"],"weaknesses":["CWE-610"],"ingestedAt":"2026-10-29T19:49:07.642Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/43xxx/CVE-2021-43794.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-43794","state":"PUBLISHED","datePublished":"2021-12-01T19:40:10.000Z","dateUpdated":"2024-08-04T04:03:08.879Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2021-11-16T00:00:00.000Z"},"containers":{"cna":{"title":"Anonymous user cache poisoning via development-mode header in Discourse","descriptions":[{"lang":"en","value":"Discourse is an open source discussion platform. In affected versions an attacker can poison the cache for anonymous (i.e. not logged in) users, such that the users are shown a JSON blob instead of the HTML page. This can lead to a partial denial-of-service. This issue is patched in the latest stable, beta and tests-passed versions of Discourse."}],"affected":[{"vendor":"discourse","product":"discourse","versions":[{"version":"stable < 2.7.11","status":"affected"},{"version":"beta < 2.8.0.beta9","status":"affected"},{"version":"tests-passed < 2.8.0.beta9","status":"affected"}]}],"references":[{"url":"https://github.com/discourse/discourse/commit/2da0001965c6d8632d723c46ea5df9f22a1a23f1","tags":["x_refsource_MISC"]},{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-249g-pc77-65hp","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-610","description":"CWE-610: Externally Controlled Reference to a Resource in Another Sphere","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2021-12-01T19:40:10.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-249g-pc77-65hp","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-43794","STATE":"PUBLIC","TITLE":"Anonymous user cache poisoning via development-mode header in Discourse"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"discourse","version":{"version_data":[{"version_value":"stable < 2.7.11"},{"version_value":"beta < 2.8.0.beta9"},{"version_value":"tests-passed < 2.8.0.beta9"}]}}]},"vendor_name":"discourse"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Discourse is an open source discussion platform. In affected versions an attacker can poison the cache for anonymous (i.e. not logged in) users, such that the users are shown a JSON blob instead of the HTML page. This can lead to a partial denial-of-service. This issue is patched in the latest stable, beta and tests-passed versions of Discourse."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-610: Externally Controlled Reference to a Resource in Another Sphere"}]}]},"references":{"reference_data":[{"name":"https://github.com/discourse/discourse/commit/2da0001965c6d8632d723c46ea5df9f22a1a23f1","refsource":"MISC","url":"https://github.com/discourse/discourse/commit/2da0001965c6d8632d723c46ea5df9f22a1a23f1"},{"name":"https://github.com/discourse/discourse/security/advisories/GHSA-249g-pc77-65hp","refsource":"CONFIRM","url":"https://github.com/discourse/discourse/security/advisories/GHSA-249g-pc77-65hp"}]},"source":{"advisory":"GHSA-249g-pc77-65hp","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/discourse/discourse/commit/2da0001965c6d8632d723c46ea5df9f22a1a23f1","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-249g-pc77-65hp","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T04:03:08.879Z"}}]}}}