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

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Published: 2024-08-30T17:18:40.593Z
- Modified: 2026-06-17T07:09:56.410Z
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- discourse discourse-calendar: < 66259cd21dc6a1b2139d9833f3f847d8013e6759
- discourse discourse_calendar: before 2024-08-28

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/discourse/discourse-calendar/security/advisories/GHSA-65f2-9ghp-x8h8> (vendor-advisory)

## Sources

- CVE List: [CVE-2024-21658](https://www.cve.org/CVERecord?id=CVE-2024-21658), CVE Terms of Use, modified 2024-08-30
- NVD: [CVE-2024-21658](https://nvd.nist.gov/vuln/detail/CVE-2024-21658), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-21658 · Whole record: https://cve.day/CVE-2024-21658.json · Rebuilt by cve.day 2026-11-25T22:58:44.905Z
