Vulnerability · Published Apr 7, 2021 · Assigned by eclipse

CVE-2021-28166

Medium 6.5

In plain English

A medium-severity null pointer dereference in Eclipse Mosquitto from The Eclipse Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)1.0%top 38.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20mosquitto2.0.10-r0ALPINE-CVE-2021-28166
Alpine:v3.21mosquitto2.0.10-r0ALPINE-CVE-2021-28166
Alpine:v3.22mosquitto2.0.10-r0ALPINE-CVE-2021-28166
Alpine:v3.23mosquitto2.0.10-r0ALPINE-CVE-2021-28166
Alpine:v3.24mosquitto2.0.10-r0ALPINE-CVE-2021-28166
Debian:12mosquitto2.0.10-1DEBIAN-CVE-2021-28166
Debian:13mosquitto2.0.10-1DEBIAN-CVE-2021-28166
Debian:14mosquitto2.0.10-1DEBIAN-CVE-2021-28166
Ubuntu:22.04:LTSmosquitto2.0.11-1ubuntu1UBUNTU-CVE-2021-28166

Affected products (as reported)

VendorProductVersions
The Eclipse Foundation Eclipse Mosquitto 2.0 – before unspecifiedunspecified – through 2.0.9

Weakness: CWE-476 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:F/RL:O/RC:C

References