Skip to content

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

ProductAffected versionsFixed 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