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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
MosquittoEclipse*1.4.14 (including)
MosquittoUbuntuartful*
MosquittoUbuntuesm-apps/xenial*
MosquittoUbuntuesm-infra-legacy/trusty*
MosquittoUbuntutrusty*
MosquittoUbuntutrusty/esm*
MosquittoUbuntuupstream*
MosquittoUbuntuxenial*

Potential Mitigations

References