LiveActive security incident?Get immediate response
CVE Record

CVE-2022-31182: Cache poisoning via maliciously-formed request in Discourse

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.

MediumCVSS 5.3Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2022-31182 can let an unauthenticated requester make some Discourse error responses get cached for static assets. For users, this may look like parts of the forum failing or serving errors until cache behavior is corrected. The disclosed impact is availability, not data theft or code execution.

Executive priority

Treat this as a moderate availability risk. It is not reported as actively exploited, but public forums can be disrupted remotely without authentication. Patch during the next normal security maintenance window, sooner for high-traffic or customer-facing communities.

Technical view

Affected Discourse versions before 2.8.7 and before 2.9.0.beta8 used a default NGINX proxy configuration that could cache error responses triggered by maliciously formed static-asset requests. The vendor included a corrected NGINX configuration in current stable, beta, and tests-passed releases.

Likely exposure

Internet-facing Discourse deployments running affected versions are the likely exposure, especially where the default NGINX proxy configuration is used for static assets. The source bundle does not identify other affected products or hosting models.

Exploitation context

The CVSS vector indicates network access, low complexity, no privileges, and no user interaction. The CVE is not listed as KEV, and the provided sources do not report active exploitation.

Researcher notes

The evidence supports cache poisoning of static-asset error responses under Discourse’s default NGINX proxy configuration. The sources do not provide proof of exploitation, affected third-party distributions, or a workaround. Validation should stay focused on version, configuration drift, and post-upgrade cache behavior.

Mitigation direction

  • Upgrade Discourse to 2.8.7, 2.9.0.beta8, or a later supported release.
  • Ensure the deployed NGINX configuration matches the vendor-corrected configuration after upgrade.
  • Prioritize internet-facing forums and instances using default proxy settings.
  • Do not rely on workarounds; the advisory states none are known.
  • Track vendor guidance for any branch-specific deployment instructions.

Validation and detection

  • Inventory Discourse versions and flag anything below 2.8.7 or 2.9.0.beta8.
  • Confirm upgraded deployments include the corrected NGINX configuration.
  • Review proxy/cache behavior for static assets after remediation.
  • Check monitoring for unusual static-asset errors or repeated cacheable error responses.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-404: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-31182 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.3CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L3.91.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.3Medium
CVSS 3.1 vector shape for CVE-2022-31182Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
discoursediscourse< 2.8.7, < 2.9.0.beta8Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-404 · source CWE mapping

Improper Resource Shutdown or Release

Improper Resource Shutdown or Release represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.