GLSA-202401-09 : Eclipse Mosquitto: Multiple Vulnerabilities

high Nessus Plugin ID 187729

Description

The remote host is affected by the vulnerability described in GLSA-202401-09 (Eclipse Mosquitto: Multiple Vulnerabilities)

- In Mosquitto before 2.0.16, excessive memory is allocated based on malicious initial packets that are not CONNECT packets. (CVE-2023-0809)

- In Mosquitto before 2.0.16, a memory leak occurs when clients send v5 CONNECT packets with a will message that contains invalid property types. (CVE-2023-3592)

- 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.
(CVE-2023-28366)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

All Eclipse Mosquitto users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose >=app-misc/mosquitto-2.0.17

See Also

https://security.gentoo.org/glsa/202401-09

https://bugs.gentoo.org/show_bug.cgi?id=918540

Plugin Details

Severity: High

ID: 187729

File Name: gentoo_GLSA-202401-09.nasl

Version: 1.0

Type: local

Published: 1/9/2024

Updated: 1/9/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2023-3592

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:gentoo:linux, p-cpe:/a:gentoo:linux:mosquitto

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 1/7/2024

Vulnerability Publication Date: 8/23/2023

Reference Information

CVE: CVE-2023-0809, CVE-2023-28366, CVE-2023-3592