{"id":"CVE-2021-43794","published":"2021-12-01T19:40:10Z","modified":"2024-08-04T04:03:08Z","title":"Anonymous user cache poisoning via development-mode header in Discourse","vendor":"discourse","product":"discourse","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0105,"percentile":0.63595,"provenance":"source"},"cwes":[{"id":"CWE-610","name":"Externally Controlled Reference to a Resource in Another Sphere"}],"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"]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":12.72},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"discourse","affectedVersions":[{"vendor":"discourse","product":"discourse","versions":["stable < 2.7.11","beta < 2.8.0.beta9","tests-passed < 2.8.0.beta9"]}],"euvd":{"id":"EUVD-2021-30690","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-discourse-cve-2021-41271","children":[{"from":"CVE-2021-43794","to":"CVE-2025-61598","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/middleware/discourse_public_exceptions.rb"],"commits":["https://github.com/discourse/discourse/commit/2da0001965c6d8632d723c46ea5df9f22a1a23f1","https://github.com/discourse/discourse/commit/3ea1b663c82c067e5ca778db846bad1e082ba6cd","https://github.com/discourse/discourse/commit/fd567af7bf5a15c70772021acbdf5d38487a31bc"],"basis":"shared function","functions":["call"]}]}]}}