Eclipse Mosquitto up to 2.0.18 SUBACK Packet on_subscribe heap-based overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.5$0-$5k0.00

Summaryinfo

A vulnerability was found in Eclipse Mosquitto up to 2.0.18. It has been declared as critical. Affected is the function on_subscribe of the component SUBACK Packet Handler. Such manipulation leads to heap-based overflow. This vulnerability is uniquely identified as CVE-2024-10525. The attack can be launched remotely. No exploit exists. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, has been found in Eclipse Mosquitto up to 2.0.18. Affected by this issue is the function on_subscribe of the component SUBACK Packet Handler. The manipulation with an unknown input leads to a heap-based overflow vulnerability. Using CWE to declare the problem leads to CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). Impacted is confidentiality, integrity, and availability. CVE summarizes:

In Eclipse Mosquitto, from version 1.3.2 through 2.0.18, if a malicious broker sends a crafted SUBACK packet with no reason codes, a client using libmosquitto may make out of bounds memory access when acting in its on_subscribe callback. This affects the mosquitto_sub and mosquitto_rr clients.

The weakness was disclosed by Qingpeng Du as 190. The advisory is shared for download at gitlab.eclipse.org. This vulnerability is handled as CVE-2024-10525 since 10/30/2024. The exploitation is known to be easy. The attack may be launched remotely. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 216526 (Debian dla-4059 : libmosquitto-dev - security update), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 2.0.19 eliminates this vulnerability. The upgrade is hosted for download at mosquitto.org.

The vulnerability is also documented in the vulnerability database at Tenable (216526). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔍
CNA CVSS-BT Score: 🔍
CNA Vector: 🔍

CVSSv3info

VulDB Meta Base Score: 7.7
VulDB Meta Temp Score: 7.5

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CNA Base Score: 9.1
CNA Vector (eclipse): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Heap-based overflow
CWE: CWE-122 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 216526
Nessus Name: Debian dla-4059 : libmosquitto-dev - security update

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Mosquitto 2.0.19

Timelineinfo

10/30/2024 🔍
10/30/2024 +0 days 🔍
10/30/2024 +0 days 🔍
02/20/2025 +113 days 🔍

Sourcesinfo

Advisory: 190
Researcher: Qingpeng Du
Status: Confirmed

CVE: CVE-2024-10525 (🔍)
GCVE (CVE): GCVE-0-2024-10525
GCVE (VulDB): GCVE-100-282512

Entryinfo

Created: 10/30/2024 14:37
Updated: 02/20/2025 20:03
Changes: 10/30/2024 14:37 (71), 10/30/2024 15:08 (1), 10/31/2024 12:02 (11), 02/20/2025 20:03 (2)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!