Buffer Overflow Affecting mosquitto package, versions [1.5,1.5.9)[1.6,1.6.6)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
39.97% (98th 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 IDSNYK-UNMANAGED-MOSQUITTO-2368757
  • published26 Jan 2022
  • disclosed19 Sept 2019
  • creditUnknown

Introduced: 19 Sep 2019

CVE-2019-11779  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade mosquitto to version 1.5.9, 1.6.6 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow. In Eclipse Mosquitto 1.5.0 to 1.6.5 inclusive, if a malicious MQTT client sends a SUBSCRIBE packet containing a topic that consists of approximately 65400 or more '/' characters, i.e. the topic hierarchy separator, then a stack overflow will occur.

References

CVSS Scores

version 3.1