Vulnerability · Published Oct 30, 2024 · Assigned by eclipse
CVE-2024-3935Eclipse Mosquito: Double free vulnerability
Medium 6.0
In plain English
A medium-severity double free in mosquitto from Eclipse Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In Eclipse Mosquito, versions from 2.0.0 through 2.0.18, if 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, then if the remote connection sends a crafted PUBLISH packet to the broker a double free will occur with a subsequent crash of the broker.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | mosquitto | 2.0.11-1.2+deb12u2 | DEBIAN-CVE-2024-3935 |
| Debian:13 | mosquitto | 2.0.20-1 | DEBIAN-CVE-2024-3935 |
| Debian:14 | mosquitto | 2.0.20-1 | DEBIAN-CVE-2024-3935 |
| Ubuntu:22.04:LTS | mosquitto | 2.0.11-1ubuntu1.2 | USN-7441-1 |
| Ubuntu:22.04:LTS | mosquitto | 2.0.11-1ubuntu1.2 | UBUNTU-CVE-2024-3935 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Eclipse Foundation | mosquitto | 2.0.0 – through 2.0.18 |
Weakness: CWE-415 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N