CVE-2022-31182 json
Cache poisoning via maliciously-formed request in Discourse
published 2022-08-01 4 y ago modified 2026-09-08 2 mo ago also BIT-discourse-2022-31182 , EUVD-2022-52779 , GHSA-4ff8-3j78-w6pp
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.80% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | discourse | <2.8.7 |
2.8.7 |
Affected products
- discourse discourse
Classification
- Weakness
-
- CWE-404 Improper Resource Shutdown or Release
References
-
github.com
/discourse/discourse/commit/7af25544c3940c4d046c51f4cfac9c72a06d4f50
patch, third-party-advisory, advisory
-
github.com
/discourse/discourse/security/advisories/GHSA-4ff8-3j78-w6pp
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-31182
web
Sources
- CVE List CVE-2022-31182
- NVD CVE-2022-31182
- OSV BIT-discourse-2022-31182
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.