NULL pointer dereference in Eclipse Mosquitto - CVE-2021-28166

 

NULL pointer dereference in Eclipse Mosquitto - CVE-2021-28166

Published: April 8, 2021


Vulnerability identifier: #VU51973
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-28166
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Eclipse
Affected software:
Eclipse Mosquitto

Detailed vulnerability description

The vulnerability allows a remote user to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error in Eclipse Mosquitto when processing CONNACK messages. A remote authenticated user connected with MQTT v5 can send a specially crafted CONNACK message to the broker, trigger a NULL pointer dereference error and crash the service.


How to mitigate CVE-2021-28166

Install update from vendor's website.

Sources