CVE-2024-50948 Denial of service in n/a

High 7.5 Published Updated

An attacker can crash the MQTT broker by exhausting system memory through numerous malicious long-term sessions.

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

What is CVE-2024-50948?

CVE-2024-50948 is a high-severity denial of service vulnerability in n/a, published on 3 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

mochiMQTT v2.6.3 is vulnerable to Denial of Service (DoS) due to improper resource management. An attacker can exhaust system memory and crash the broker by establishing and maintaining a large number of malicious, long-term publish/subscribe sessions.

Which versions are affected by CVE-2024-50948?

1 open source package ship an affected version, including github.com/mochi-mqtt/server.

PackageAffectedFixed in
github.com/mochi-mqtt/server GoAll versionsNone

How do I fix CVE-2024-50948?

Upgrade to a fixed version.

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-50948 being exploited?

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

Sources

Also known as GHSA-595j-4p24-6jv2, GO-2024-3307.

Is CVE-2024-50948 in your software?

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

Check your SBOMs for free