CVE Vulnerabilities

CVE-2021-28166

NULL Pointer Dereference

Published: Apr 07, 2021 | Modified: Apr 13, 2021
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
4 MEDIUM
AV:N/AC:L/Au:S/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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

A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit.

Affected Software

Name Vendor Start Version End Version
Mosquitto Eclipse 2.0.0 (including) 2.0.9 (including)
Mosquitto Ubuntu bionic *
Mosquitto Ubuntu groovy *
Mosquitto Ubuntu hirsute *
Mosquitto Ubuntu impish *
Mosquitto Ubuntu kinetic *
Mosquitto Ubuntu trusty *
Mosquitto Ubuntu upstream *
Mosquitto Ubuntu xenial *

Potential Mitigations

References