NULL Pointer Dereference Affecting mosquitto package, versions [2.0.0,2.0.10)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.05% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-MOSQUITTO-2368761
  • published26 Jan 2022
  • disclosed7 Apr 2021
  • creditUnknown

Introduced: 7 Apr 2021

CVE-2021-28166  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade mosquitto to version 2.0.10 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference. 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.

References

CVSS Scores

version 3.1