Uncontrolled Memory Allocation Affecting mosquitto package, versions <1.4.15-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.13% (48th 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-ALPINE311-MOSQUITTO-546300
  • published25 Apr 2018
  • disclosed25 Apr 2018

Introduced: 25 Apr 2018

CVE-2017-7652  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

Upgrade Alpine:3.11 mosquitto to version 1.4.15-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mosquitto package and not the mosquitto package as distributed by Alpine. See How to fix? for Alpine:3.11 relevant fixed versions and status.

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.