CVE-2023-28366
Published: 1 September 2023
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.
Notes
Author | Note |
---|---|
gianz | Memory leak requiring refactoring of core functions to be fixed. Applying the patches to versions < 2.0.0 is likely to cause regressions. |
Priority
Status
Package | Release | Status |
---|---|---|
mosquitto Launchpad, Ubuntu, Debian |
bionic |
Ignored
(backporting risks regressions)
|
focal |
Released
(1.6.9-1ubuntu0.1~esm1)
Available with Ubuntu Pro |
|
jammy |
Released
(2.0.11-1ubuntu1.1)
|
|
lunar |
Released
(2.0.11-1.2ubuntu0.1)
|
|
mantic |
Not vulnerable
(2.0.18-1)
|
|
trusty |
Not vulnerable
(code-not-present)
|
|
upstream |
Released
(2.0.16)
|
|
xenial |
Ignored
(backporting risks regressions)
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.5 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References
- https://mosquitto.org/blog/2023/08/version-2-0-16-released/
- https://github.com/eclipse/mosquitto/commit/6113eac95a9df634fbc858be542c4a0456bfe7b9 (v2.0.16)
- https://github.com/eclipse/mosquitto/commit/6113eac95a9df634fbc858be542c4a0456bfe7b9
- https://www.compass-security.com/fileadmin/Research/Advisories/2023_02_CSNC-2023-001_Eclipse_Mosquitto_Memory_Leak.txt
- https://github.com/eclipse/mosquitto/compare/v2.0.15...v2.0.16
- https://ubuntu.com/security/notices/USN-6492-1
- https://www.cve.org/CVERecord?id=CVE-2023-28366
- NVD
- Launchpad
- Debian