CVE-2023-0809 Denial of service in Mosquitto

Medium 5.8 Published Updated

Attackers can cause denial of service in Mosquitto MQTT broker by sending malicious initial packets that trigger excessive memory allocation.

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

What is CVE-2023-0809?

CVE-2023-0809 is a medium-severity denial of service vulnerability in Eclipse Mosquitto, published on 2 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Mosquitto before 2.0.16, excessive memory is allocated based on malicious initial packets that are not CONNECT packets.

Weakness: CWE-770, CWE-789

Which versions are affected by CVE-2023-0809?

It affects 1 product.

Products include Eclipse Mosquitto.

How do I fix CVE-2023-0809?

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-2023-0809 being exploited?

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

Sources

Also known as ALPINE-CVE-2023-0809, DEBIAN-CVE-2023-0809, GHSA-v9xr-r3xx-x9gc, OESA-2023-1716, OESA-2023-1717, OESA-2023-1718 and 1 more.

Is CVE-2023-0809 in your software?

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

Check your SBOMs for free