CVE Vulnerabilities

CVE-2019-11779

Uncontrolled Recursion

Published: Sep 19, 2019 | Modified: Nov 07, 2023
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
4 MEDIUM
AV:N/AC:L/Au:S/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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.

Weakness

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Affected Software

Name Vendor Start Version End Version
Mosquitto Eclipse 1.5 (including) 1.5.9 (excluding)
Mosquitto Eclipse 1.6 (including) 1.6.6 (excluding)
Mosquitto Ubuntu disco *
Mosquitto Ubuntu trusty *
Mosquitto Ubuntu upstream *

Potential Mitigations

References