Double free in Eclipse Mosquitto - CVE-2024-3935
Published: November 11, 2024
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
openEuler
Ubuntu
libmosquitto1 (Ubuntu package)
mosquitto (Ubuntu package)
mosquitto-clients (Ubuntu package)
libmosquittopp1 (Ubuntu package)
mosquitto-debuginfo
mosquitto-devel
mosquitto-debugsource
mosquitto
How to mitigate CVE-2024-3935
libmosquitto1 (Ubuntu package) - addressed in versions 2.0.11-1ubuntu1.2, 2.0.18-1ubuntu0.1~esm1
mosquitto (Ubuntu package) - addressed in versions 2.0.11-1ubuntu1.2, 2.0.18-1ubuntu0.1~esm1
mosquitto-clients (Ubuntu package) - addressed in versions 2.0.11-1ubuntu1.2, 2.0.18-1ubuntu0.1~esm1
libmosquittopp1 (Ubuntu package) - addressed in versions 2.0.11-1ubuntu1.2, 2.0.18-1ubuntu0.1~esm1
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