CVE-2024-38360
NixOS vulnerability analysis and mitigation

Overview

Discourse, an open source platform for community discussion, contains a vulnerability (CVE-2024-38360) where moderators can create replacement words with an almost unlimited number of characters, potentially reducing the availability of a Discourse instance. This vulnerability was discovered and disclosed on July 15, 2024, affecting stable versions <= 3.2.2, beta <= 3.3.0.beta2, and tests-passed <= 3.3.0.beta2 (GitHub Advisory).

Technical details

The vulnerability stems from the watch words controller creation function (create_or_update_word()) not validating the size of the replacement parameter when creating replace watched words, unlike the word parameter. This allows moderators to create watched words with almost unlimited characters, which can impact system availability. The vulnerability has been assigned a CVSS v3.1 base score of 4.9 (Moderate) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H (GitHub Advisory).

Impact

The primary impact of this vulnerability is on system availability. By exploiting this vulnerability, a moderator can create replacement words with an excessive number of characters, which can reduce the availability of the Discourse instance (GitHub Advisory).

Exploitability

The vulnerability requires high privileges (moderator access) to exploit. It can be executed remotely through the network with low attack complexity and requires no user interaction (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in stable version 3.2.3 and current betas. Users are advised to upgrade to these versions. For users unable to upgrade immediately, a workaround is available by manually removing the long watched words either via SQL or Rails console (CISA Bulletin).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-13097CRITICAL9.1
  • NixOS logoNixOS
  • python3-samba-test
NoYesAug 20, 2026
CVE-2026-11861HIGH8.1
  • NixOS logoNixOS
  • samba-common
NoYesAug 20, 2026
CVE-2026-73198HIGH7.5
  • NixOS logoNixOS
  • ctdb-ceph-mutex
NoYesAug 20, 2026
CVE-2026-73197HIGH7.5
  • NixOS logoNixOS
  • samba-test-libs-debuginfo
NoYesAug 20, 2026
CVE-2026-73196MEDIUM6.5
  • NixOS logoNixOS
  • samba-ldb-ldap-modules-debuginfo
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management