CVE-2023-28366 The broker in Eclipse Mosquitto 1.3.2 through 2.x before 2.0.16 has a memory leak that can be abused remotely when a client sends many QoS 2 messages with duplicate message IDs, and fails to respond t...
HighCVSS 7.5
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
Description
The broker in Eclipse Mosquitto 1.3.2 through 2.x before 2.0.16 has a memory leak that can be abused remotely when a client sends many QoS 2 messages with duplicate message IDs, and fails to respond to PUBREC commands. This occurs because of mishandling of EAGAIN from the libc send function.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/mosquitto(Debian:12) | < 2.0.11-1.2+deb12u1 | 2.0.11-1.2+deb12u1 |
| debian/mosquitto(Debian:12) | = 2.0.11-1.2 | No fix listed |
| debian/mosquitto(Debian:13) | < 2.0.17-1 | 2.0.17-1 |
| debian/mosquitto(Debian:14) | < 2.0.17-1 | 2.0.17-1 |
| ubuntu/mosquitto(Ubuntu:22.04) | < 2.0.11-1ubuntu1.1 | 2.0.11-1ubuntu1.1 |
| alpine/mosquitto(Alpine:v3.18) | >= 1.3.2, < 2.0.16-r0 | 2.0.16-r0 |
| alpine/mosquitto(Alpine:v3.19) | >= 1.3.2, < 2.0.16-r0 | 2.0.16-r0 |
| alpine/mosquitto(Alpine:v3.20) | >= 1.3.2, < 2.0.16-r0 | 2.0.16-r0 |
| alpine/mosquitto(Alpine:v3.21) | >= 1.3.2, < 2.0.16-r0 | 2.0.16-r0 |
| alpine/mosquitto(Alpine:v3.22) | >= 1.3.2, < 2.0.16-r0 | 2.0.16-r0 |
| alpine/mosquitto(Alpine:v3.23) | >= 1.3.2, < 2.0.16-r0 | 2.0.16-r0 |
| alpine/mosquitto(Alpine:v3.24) | >= 1.3.2, < 2.0.16-r0 | 2.0.16-r0 |
| eclipse mosquitto | >= 1.3.2, < 2.0.16 | 2.0.16 |
References
- Debian Security Tracker CVE-2023-28366 vendor-advisory
- github.com release-notes
- www.compass-security.com third-party-advisory
- mosquitto.org release-notes
- github.com patch
- FEDORA-2023-9adc4be8b0 vendor-advisory
- DSA-5511 vendor-advisory
- GLSA-202401-09 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-6492-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory