CVE-2024-21658 Insufficient control of region value length in discourse-calendar

Medium 4.3 Published Updated

A malicious actor can cause excessive bandwidth and disk space usage in Discourse instances via the calendar plugin, requiring an upgrade to mitigate.

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

What is CVE-2024-21658?

CVE-2024-21658 is a medium-severity denial of service vulnerability in discourse-calendar, published on 30 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

discourse-calendar is a discourse plugin which adds the ability to create a dynamic calendar in the first post of a topic. The limit on region value length is too generous. This allows a malicious actor to cause a Discourse instance to use excessive bandwidth and disk space. This issue has been patched in main the main branch. There are no workarounds for this vulnerability. Please upgrade as soon as possible.

Weakness: CWE-770, CWE-400

Which versions are affected by CVE-2024-21658?

It affects 1 product.

Products include Discourse Discourse Calendar.

How do I fix CVE-2024-21658?

No fix has been published for CVE-2024-21658 yet. Limit exposure of the affected software until one is available.

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-2024-21658 being exploited?

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

Sources

Also known as GHSA-65f2-9ghp-x8h8.

Is CVE-2024-21658 in your software?

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

Check your SBOMs for free