CVE Vulnerabilities

CVE-2017-7651

Memory Allocation with Excessive Size Value

Published: Apr 24, 2018 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

In Eclipse Mosquitto 1.4.14, a user can shutdown the Mosquitto server simply by filling the RAM memory with a lot of connections with large payload. This can be done without authentications if occur in connection phase of MQTT protocol.

Weakness

The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.

Affected Software

Name Vendor Start Version End Version
Mosquitto Eclipse * 1.4.14 (including)
Mosquitto Ubuntu artful *
Mosquitto Ubuntu trusty *
Mosquitto Ubuntu upstream *
Mosquitto Ubuntu xenial *

Potential Mitigations

References