Use After Free Affecting mosquitto package, versions [1.6,1.6.5)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.06% (27th 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 Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-MOSQUITTO-2368755
  • published26 Jan 2022
  • disclosed18 Sept 2019
  • creditUnknown

Introduced: 18 Sep 2019

CVE-2019-11778  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade mosquitto to version 1.6.5 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free. If an MQTT v5 client connects to Eclipse Mosquitto versions 1.6.0 to 1.6.4 inclusive, sets a last will and testament, sets a will delay interval, sets a session expiry interval, and the will delay interval is set longer than the session expiry interval, then a use after free error occurs, which has the potential to cause a crash in some situations.

References

CVSS Scores

version 3.1