CVE-2021-28166 Null dereference in Eclipse Mosquitto

Medium 6.5 Published Updated

An authenticated client can cause a denial of service in the Eclipse Mosquitto MQTT broker by sending a crafted CONNACK message.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-28166?

CVE-2021-28166 is a medium-severity vulnerability in The Eclipse Foundation Eclipse Mosquitto, published on 7 Apr 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In Eclipse Mosquitto version 2.0.0 to 2.0.9, if an authenticated client that had connected with MQTT v5 sent a crafted CONNACK message to the broker, a NULL pointer dereference would occur.

Weakness: CWE-476

Which versions are affected by CVE-2021-28166?

It affects 1 product.

Products include Eclipse Mosquitto.

How do I fix CVE-2021-28166?

Upgrade to a fixed version.

Is CVE-2021-28166 being exploited?

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

Sources

Also known as ALPINE-CVE-2021-28166, DEBIAN-CVE-2021-28166, GHSA-3647-h3m7-326w.

Is CVE-2021-28166 in your software?

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

Check your SBOMs for free