Memory Leak Affecting mosquitto package, versions [1.6,2.0.11)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.18% (56th 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 Memory Leak vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-MOSQUITTO-2368758
  • published26 Jan 2022
  • disclosed22 Jul 2021
  • creditUnknown

Introduced: 22 Jul 2021

CVE-2021-34431  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade mosquitto to version 2.0.11 or higher.

Overview

Affected versions of this package are vulnerable to Memory Leak. In Eclipse Mosquitto version 1.6 to 2.0.10, if an authenticated client that had connected with MQTT v5 sent a crafted CONNECT message to the broker a memory leak would occur, which could be used to provide a DoS attack against the broker.

References

CVSS Scores

version 3.1