Input validation error in Eclipse Mosquitto - CVE-2017-7652

 

Input validation error in Eclipse Mosquitto - CVE-2017-7652

Published: April 25, 2018 / Updated: August 4, 2020


Vulnerability identifier: #VU33762
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2017-7652
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Eclipse
Affected software:
Eclipse Mosquitto

Detailed vulnerability description

The vulnerability allows a remote authenticated user to execute arbitrary code.

In Eclipse Mosquitto 1.4.14, if a Mosquitto instance is set running with a configuration file, then sending a HUP signal to server triggers the configuration to be reloaded from disk. If there are lots of clients connected so that there are no more file descriptors/sockets available (default limit typically 1024 file descriptors on Linux), then opening the configuration file will fail.


How to mitigate CVE-2017-7652

Install update from vendor's website.

Sources