CVE-2022-39226 Discourse user profile location and website fields were not sufficiently length-limited

Medium 4.3 Published Updated

Attackers can cause denial of service by injecting large text payloads into user profile fields, affecting other users viewing the profile.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-39226?

CVE-2022-39226 is a medium-severity denial of service vulnerability in Discourse Discourse, published on 29 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Discourse is an open source discussion platform. In versions prior to 2.8.9 on the `stable` branch and prior to 2.9.0.beta10 on the `beta` and `tests-passed` branches, a malicious actor can add large payloads of text into the Location and Website fields of a user profile, which causes issues for other users when loading that profile. A fix to limit the length of user input for these fields is included in version 2.8.9 on the `stable` branch and version 2.9.0.beta10 on the `beta` and `tests-passed` branches. There are no known workarounds.

Weakness: CWE-770, CWE-20

Which versions are affected by CVE-2022-39226?

1 open source package ship an affected version, including discourse. It affects 1 product.

PackageAffectedFixed in
discourse BitnamiAll versions2.8.9

Products include Discourse Discourse.

How do I fix CVE-2022-39226?

Upgrade discourse to 2.8.9 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-39226 being exploited?

There is no known exploitation of CVE-2022-39226 in the wild and no public exploit code.

All Discourse Discourse vulnerabilities

Sources

Also known as BIT-discourse-2022-39226, GHSA-jw3q-xg5g-qjrw.

Is CVE-2022-39226 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free