CVE-2023-47120 Discourse DoS through Onebox favicon URL

High 7.5 Published Updated

Attackers can deplete Redis memory and cause denial of service by crafting posts with abnormally long favicon URLs in Discourse.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-47120?

CVE-2023-47120 is a high-severity denial of service vulnerability in Discourse Discourse, published on 10 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Discourse is an open source platform for community discussion. In versions 3.1.0 through 3.1.2 of the `stable` branch and versions 3.1.0,beta6 through 3.2.0.beta2 of the `beta` and `tests-passed` branches, Redis memory can be depleted by crafting a site with an abnormally long favicon URL and drafting multiple posts which Onebox it. The issue is patched in version 3.1.3 of the `stable` branch and version 3.2.0.beta3 of the `beta` and `tests-passed` branches. There are no known workarounds.

Weakness: CWE-770

Which versions are affected by CVE-2023-47120?

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

PackageAffectedFixed in
discourse BitnamiFrom 3.1.03.1.3

Products include Discourse Discourse.

How do I fix CVE-2023-47120?

Upgrade discourse to 3.1.3 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-2023-47120 being exploited?

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

All Discourse Discourse vulnerabilities

Sources

Also known as BIT-discourse-2023-47120, GHSA-77cw-xhj8-hfp3.

Is CVE-2023-47120 in your software?

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

Check your SBOMs for free