Name | CVE-2023-28366 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-5511-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
mosquitto (PTS) | jessie, jessie (lts) | 1.3.4-2+deb8u4 | vulnerable |
| stretch (security), stretch (lts), stretch | 1.4.10-3+deb9u5 | vulnerable |
| buster (security), buster, buster (lts) | 1.5.7-1+deb10u1 | vulnerable |
| bullseye (security), bullseye | 2.0.11-1+deb11u1 | fixed |
| bookworm (security), bookworm | 2.0.11-1.2+deb12u1 | fixed |
| sid, trixie | 2.0.20-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[buster] - mosquitto <ignored> (Minor memory leak which requires rewrite of core functions)
https://mosquitto.org/blog/2023/08/version-2-0-16-released/
https://github.com/eclipse/mosquitto/commit/6113eac95a9df634fbc858be542c4a0456bfe7b9 (v2.0.16)
Regression fix: https://github.com/eclipse/mosquitto/commit/bfb373d774d8530e8d6620776304a3e0b0201793
Regression fix: https://github.com/eclipse/mosquitto/commit/28d96d8ebca9f6bdb7f272f1095760953e62d828
[stretch] - mosquitto <ignored> (Minor memory leak which requires rewrite of core functions)
[jessie] - mosquitto <ignored> (Minor memory leak which requires rewrite of core functions)