CVE-2024-10525 Eclipse Mosquito: Heap Buffer Overflow in my_subscribe_callback
HighCVSS 7.2
EPSS 59.2%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
In Eclipse Mosquitto, from version 1.3.2 through 2.0.18, if a malicious broker sends a crafted SUBACK packet with no reason codes, a client using libmosquitto may make out of bounds memory access when acting in its on_subscribe callback. This affects the mosquitto_sub and mosquitto_rr clients.
Upgrade path
12 packages: 12 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 | >= 1.3.2, <= 2.0.18 | after 2.0.18 | Fixed |
| eclipse mosquitto | >= 1.3.2, < 2.0.19 | 2.0.19 | Fixed |
| ubuntu/mosquitto(Ubuntu 22.04) | < 2.0.11-1ubuntu1.2; = 2.0.11-1; = 2.0.11-1build1; = 2.0.11-1ubuntu1 +1 more | 2.0.11-1ubuntu1.2 | Fixed |
| ubuntu/mosquitto(Ubuntu 24.04) | < 2.0.18-1ubuntu0.1~esm1 | 2.0.18-1ubuntu0.1~esm1 | Fixed |
| ubuntu/mosquitto(Ubuntu Pro 14.04) | < 0.15-2+deb7u3ubuntu0.1+esm1; = 0.15-2+deb7u3ubuntu0.1; = 0.15-2ubuntu1; = 0.15-2ubuntu1.1 +1 more | 0.15-2+deb7u3ubuntu0.1+esm1 | Fixed |
| ubuntu/mosquitto(Ubuntu Pro 16.04) | < 1.4.8-1ubuntu0.16.04.7+esm2; = 1.4.3-1; = 1.4.4-1; = 1.4.7-1 +10 more | 1.4.8-1ubuntu0.16.04.7+esm2 | Fixed |
| ubuntu/mosquitto(Ubuntu Pro 18.04) | < 1.4.15-2ubuntu0.18.04.3+esm2; = 1.4.12-1; = 1.4.14-1; = 1.4.14-2 +7 more | 1.4.15-2ubuntu0.18.04.3+esm2 | Fixed |
| ubuntu/mosquitto(Ubuntu Pro 20.04) | < 1.6.9-1ubuntu0.1~esm2; = 1.6.6-1; = 1.6.7-1; = 1.6.8-1 +4 more | 1.6.9-1ubuntu0.1~esm2 | Fixed |
| ubuntu/mosquitto(Ubuntu Pro 24.04) | < 2.0.18-1ubuntu0.1~esm1; = 2.0.18-1; = 2.0.18-1build1; = 2.0.18-1build2 +1 more | 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 | >= 1.3.2, <= 2.0.18 | No fix listed |
| ubuntu/mosquitto(Ubuntu:24.04) | < 2.0.18-1ubuntu0.1~esm1 | 2.0.18-1ubuntu0.1~esm1 |
| eclipse mosquitto | >= 1.3.2, < 2.0.19 | 2.0.19 |
| ubuntu/mosquitto(Ubuntu:Pro:14.04) | < 0.15-2+deb7u3ubuntu0.1+esm1 | 0.15-2+deb7u3ubuntu0.1+esm1 |
| ubuntu/mosquitto(Ubuntu:Pro:14.04) | = 0.15-2ubuntu1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:14.04) | = 0.15-2ubuntu1.1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:14.04) | = 0.15-2ubuntu1.2 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:14.04) | = 0.15-2+deb7u3ubuntu0.1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:16.04) | < 1.4.8-1ubuntu0.16.04.7+esm2 | 1.4.8-1ubuntu0.16.04.7+esm2 |
| ubuntu/mosquitto(Ubuntu:Pro:16.04) | = 1.4.3-1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:16.04) | = 1.4.4-1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:16.04) | = 1.4.7-1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:16.04) | = 1.4.8-1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:16.04) | = 1.4.8-1build1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:16.04) | = 1.4.8-1ubuntu0.16.04.1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:16.04) | = 1.4.8-1ubuntu0.16.04.2 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:16.04) | = 1.4.8-1ubuntu0.16.04.3 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:16.04) | = 1.4.8-1ubuntu0.16.04.4 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:16.04) | = 1.4.8-1ubuntu0.16.04.5 | No fix listed |
Show 31 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/mosquitto(Ubuntu:Pro:16.04) | = 1.4.8-1ubuntu0.16.04.6 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:16.04) | = 1.4.8-1ubuntu0.16.04.7 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:16.04) | = 1.4.8-1ubuntu0.16.04.7+esm1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:18.04) | < 1.4.15-2ubuntu0.18.04.3+esm2 | 1.4.15-2ubuntu0.18.04.3+esm2 |
| ubuntu/mosquitto(Ubuntu:Pro:18.04) | = 1.4.12-1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:18.04) | = 1.4.14-1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:18.04) | = 1.4.14-2 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:18.04) | = 1.4.14-2build1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:18.04) | = 1.4.15-1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:18.04) | = 1.4.15-2 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:18.04) | = 1.4.15-2ubuntu0.18.04.1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:18.04) | = 1.4.15-2ubuntu0.18.04.2 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:18.04) | = 1.4.15-2ubuntu0.18.04.3 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:18.04) | = 1.4.15-2ubuntu0.18.04.3+esm1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:20.04) | < 1.6.9-1ubuntu0.1~esm2 | 1.6.9-1ubuntu0.1~esm2 |
| ubuntu/mosquitto(Ubuntu:Pro:20.04) | = 1.6.6-1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:20.04) | = 1.6.7-1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:20.04) | = 1.6.8-1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:20.04) | = 1.6.8-2 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:20.04) | = 1.6.9-1~build1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:20.04) | = 1.6.9-1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:20.04) | = 1.6.9-1ubuntu0.1~esm1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:22.04) | = 2.0.11-1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:22.04) | = 2.0.11-1build1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:22.04) | = 2.0.11-1ubuntu1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:22.04) | = 2.0.11-1ubuntu1.1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:24.04) | < 2.0.18-1ubuntu0.1~esm1 | 2.0.18-1ubuntu0.1~esm1 |
| ubuntu/mosquitto(Ubuntu:Pro:24.04) | = 2.0.18-1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:24.04) | = 2.0.18-1build1 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:24.04) | = 2.0.18-1build2 | No fix listed |
| ubuntu/mosquitto(Ubuntu:Pro:24.04) | = 2.0.18-1build3 | No fix listed |
References
- Debian Security Tracker CVE-2024-10525 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-7441-1 vendor-advisory
- www.cve.org issue-tracking
- gitlab.eclipse.org exploit issue-tracking vendor-advisory
- mosquitto.org issue-tracking release-notes
- github.com issue-tracking patch
- lists.debian.org