Impact
Moquette is a lightweight Java MQTT broker; a bug in its event loop causes an uncaught exception to terminate the loop shared by all client sessions. This results in a denial of service for every client attached to the broker, as none can process PUBLISH, SUBSCRIBE, PUBACK or other commands. The flaw maps to CWE-248, describing an uncaught exception that results in a crash or denial of service.
Affected Systems
The vulnerability affects Moquette versions prior to 0.18.1, released by moquette-io:moquette. Any instance running an affected version is susceptible.
Risk and Exploitability
The CVSS score of 8.7 indicates high severity. The EPSS score is not available, and the vulnerability is not listed in CISA KEV, but the high CVSS suggests that attacks could be profitable. The likely attack vector is an attacker connecting to the broker and sending a crafted MQTT command that triggers the unhandled exception. Once the event loop stops, all clients sharing the loop are disrupted.
OpenCVE Enrichment