Double free in Eclipse Mosquitto - CVE-2024-3935

 

Double free in Eclipse Mosquitto - CVE-2024-3935

Published: November 11, 2024


Vulnerability identifier: #VU100208
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-3935
CWE-ID: CWE-415
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a double free error when a Mosquitto broker is configured to create an outgoing bridge connection, and that bridge connection has an incoming topic configured that makes use of topic remapping. A remote attacker can send specially crafted PUBLISH packet to the application and perform a denial of service (DoS) attack.


Affected software

Eclipse Mosquitto
Ubuntu
openEuler
python-mosquitto (Ubuntu package)
libmosquittopp0 (Ubuntu package)
libmosquitto0 (Ubuntu package)
mosquitto-clients (Ubuntu package)
mosquitto (Ubuntu package)
libmosquittopp1 (Ubuntu package)
libmosquitto1 (Ubuntu package)
mosquitto-debuginfo
mosquitto-devel
mosquitto-debugsource
mosquitto

How to mitigate CVE-2024-3935

Install updates from vendor's website.

Eclipse Mosquitto - update to 2.0.19
python-mosquitto (Ubuntu package) - update to Ubuntu Pro
libmosquittopp0 (Ubuntu package) - update to Ubuntu Pro
libmosquitto0 (Ubuntu package) - update to Ubuntu Pro
mosquitto-clients (Ubuntu package) - addressed in versions Ubuntu Pro, 2.0.11-1ubuntu1.2
mosquitto (Ubuntu package) - addressed in versions Ubuntu Pro, 2.0.11-1ubuntu1.2
libmosquittopp1 (Ubuntu package) - addressed in versions Ubuntu Pro, 2.0.11-1ubuntu1.2
libmosquitto1 (Ubuntu package) - addressed in versions Ubuntu Pro, 2.0.11-1ubuntu1.2
mosquitto-debuginfo - update to 2.0.20-1
mosquitto-devel - update to 2.0.20-1
mosquitto-debugsource - update to 2.0.20-1
mosquitto - update to 2.0.20-1

External References

Related Security Bulletins