Multiple vulnerabilities in Eclipse Mosquitto



Published: 2024-10-31
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2024-10525
CVE-2024-8376
CWE-ID CWE-125
CWE-401
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Eclipse Mosquitto
Server applications / Other server solutions

Vendor Eclipse

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Out-of-bounds read

EUVDB-ID: #VU99569

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2024-10525

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition when handling SUBACK packets with no reason codes. A remote attacker can send specially crafted SUBACK packets to the application, trigger an out-of-bounds read error and read contents of memory on the system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Eclipse Mosquitto: 2.0.0 - 2.0.18

CPE2.3 External links

http://gitlab.eclipse.org/security/vulnerability-reports/-/issues/190
http://mosquitto.org/blog/2024/10/version-2-0-19-released/
http://github.com/eclipse-mosquitto/mosquitto/commit/8ab20b4ba4204fdcdec78cb4d9f03c944a6e0e1c


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Memory leak

EUVDB-ID: #VU99568

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2024-8376

CWE-ID: CWE-401 - Missing release of memory after effective lifetime

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform DoS attack on the target system.

The vulnerability exists due memory leak. A remote attacker can send a specific sequences of "CONNECT", "DISCONNECT", "SUBSCRIBE", "UNSUBSCRIBE" and "PUBLISH" packets to force the application to leak memory and perform denial of service attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Eclipse Mosquitto: 2.0.0 - 2.0.18

CPE2.3 External links

http://gitlab.eclipse.org/security/vulnerability-reports/-/issues/216
http://gitlab.eclipse.org/security/vulnerability-reports/-/issues/217
http://gitlab.eclipse.org/security/vulnerability-reports/-/issues/218
http://gitlab.eclipse.org/security/vulnerability-reports/-/issues/227
http://gitlab.eclipse.org/security/cve-assignement/-/issues/26
http://github.com/eclipse/mosquitto/releases/tag/v2.0.19
http://github.com/eclipse-mosquitto/mosquitto/commit/1914b3ee2a18102d0a94cbdbbfeae1afa03edd17


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###