CVE-2024-3935 Eclipse Mosquito: Double free vulnerability
MediumCVSS 6.0
EPSS 0.75%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
7 packages: 7 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/mosquitto(Debian 12) | < 2.0.11-1.2+deb12u2; = 2.0.11-1.2; = 2.0.11-1.2+deb12u1 | 2.0.11-1.2+deb12u2 | Fixed |
| debian/mosquitto(Debian 13) | < 2.0.20-1 | 2.0.20-1 | Fixed |
| debian/mosquitto(Debian 14) | < 2.0.20-1 | 2.0.20-1 | Fixed |
| Eclipse Foundation mosquitto | >= 2.0.0, < 2.0.18; >= 2.0.0, <= 2.0.18 | 2.0.18 | Fixed |
| eclipse mosquitto | >= 2.0.0, < 2.0.19 | 2.0.19 | Fixed |
| ubuntu/mosquitto(Ubuntu 22.04) | < 2.0.11-1ubuntu1.2 | 2.0.11-1ubuntu1.2 | Fixed |
| ubuntu/mosquitto(Ubuntu 24.04) | < 2.0.18-1ubuntu0.1~esm1 | 2.0.18-1ubuntu0.1~esm1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/mosquitto(Debian:12) | < 2.0.11-1.2+deb12u2 | 2.0.11-1.2+deb12u2 |
| debian/mosquitto(Debian:12) | = 2.0.11-1.2 | No fix listed |
| debian/mosquitto(Debian:12) | = 2.0.11-1.2+deb12u1 | No fix listed |
| debian/mosquitto(Debian:13) | < 2.0.20-1 | 2.0.20-1 |
| debian/mosquitto(Debian:14) | < 2.0.20-1 | 2.0.20-1 |
| ubuntu/mosquitto(Ubuntu:22.04) | < 2.0.11-1ubuntu1.2 | 2.0.11-1ubuntu1.2 |
| Eclipse Foundation mosquitto | >= 2.0.0, <= 2.0.18 | No fix listed |
| Eclipse Foundation mosquitto | >= 2.0.0, < 2.0.18 | 2.0.18 |
| ubuntu/mosquitto(Ubuntu:24.04) | < 2.0.18-1ubuntu0.1~esm1 | 2.0.18-1ubuntu0.1~esm1 |
| eclipse mosquitto | >= 2.0.0, < 2.0.19 | 2.0.19 |
References
- Debian Security Tracker CVE-2024-3935 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7441-1 vendor-advisory
- www.cve.org
- gitlab.eclipse.org exploit issue-tracking vendor-advisory
- mosquitto.org release-notes
- github.com patch
- lists.debian.org