CVE-2022-31182 Cache poisoning via maliciously-formed request in Discourse
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2022-31182?
CVE-2022-31182 is a medium-severity vulnerability in Discourse Discourse, published on 1 Aug 2022.
Official description
Discourse is the an open source discussion platform. In affected versions a maliciously crafted request for static assets could cause error responses to be cached by Discourse's default NGINX proxy configuration. A corrected NGINX configuration is included in the latest stable, beta and tests-passed versions of Discourse. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Weakness: CWE-404
Which versions are affected by CVE-2022-31182?
1 open source package ship an affected version, including discourse. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
discourse Bitnami | All versions | 2.8.7 |
Products include Discourse Discourse.
How do I fix CVE-2022-31182?
Upgrade discourse to 2.8.7 or later.
Is CVE-2022-31182 being exploited?
There is no known exploitation of CVE-2022-31182 in the wild and no public exploit code.
Other vulnerabilities in Discourse Discourse
- CVE-2021-41163 RCE via malicious SNS subscription payload
- CVE-2022-36066 Discourse vulnerable to RCE via admins uploading maliciously zipped file
- CVE-2022-39356 Discourse user account takeover via email and invite link
- CVE-2023-22468 Discourse vulnerable to Cross-site Scripting in local oneboxes
- CVE-2026-27934 Discourse leaks private topic title and post excerpt via user action API endpoint
Sources
Also known as BIT-discourse-2022-31182, GHSA-4ff8-3j78-w6pp.