Out-of-bounds read in Eclipse Mosquitto - CVE-2024-10525

 

Out-of-bounds read in Eclipse Mosquitto - CVE-2024-10525

Published: October 31, 2024


Vulnerability identifier: #VU99569
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-10525
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Eclipse Mosquitto
Fedora
Ubuntu
openEuler
python-mosquitto (Ubuntu package)
libmosquittopp0 (Ubuntu package)
libmosquitto0 (Ubuntu package)
mosquitto-clients (Ubuntu package)
mosquitto (Ubuntu package)
libmosquittopp1 (Ubuntu package)
libmosquitto1 (Ubuntu package)
mosquitto-debuginfo
mosquitto-devel
mosquitto-debugsource
mosquitto

How to mitigate CVE-2024-10525

Install updates from vendor's website.

Eclipse Mosquitto - update to 2.0.19
python-mosquitto (Ubuntu package) - update to Ubuntu Pro
libmosquittopp0 (Ubuntu package) - update to Ubuntu Pro
libmosquitto0 (Ubuntu package) - update to Ubuntu Pro
mosquitto-clients (Ubuntu package) - addressed in versions Ubuntu Pro, 2.0.11-1ubuntu1.2
mosquitto (Ubuntu package) - addressed in versions Ubuntu Pro, 2.0.11-1ubuntu1.2
libmosquittopp1 (Ubuntu package) - addressed in versions Ubuntu Pro, 2.0.11-1ubuntu1.2
libmosquitto1 (Ubuntu package) - addressed in versions Ubuntu Pro, 2.0.11-1ubuntu1.2
mosquitto-debuginfo - update to 2.0.20-1
mosquitto-devel - update to 2.0.20-1
mosquitto-debugsource - update to 2.0.20-1
mosquitto - update to 2.0.20-1
mosquitto - addressed in versions 2.0.22-1.el9, 2.0.22-1.el10_1

External References

Related Security Bulletins