PT-2019-15804 · Cesanta · Mongoose

Hardtobelieve

·

Published

2019-11-26

·

Updated

2024-02-28

·

CVE-2019-19307

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Cesanta Mongoose version 6.16
Description The issue is related to an integer overflow in the parse mqtt function in mongoose.c, which can be exploited by sending a crafted MQTT protocol packet. This could lead to a remote Denial of Service (DoS) in the form of an infinite loop, or potentially cause an out-of-bounds write.
Recommendations For Cesanta Mongoose version 6.16, consider disabling the parse mqtt function in mongoose.c to prevent exploitation until a patch is available. Restrict access to the MQTT protocol packet handling to minimize the risk of remote DoS or out-of-bounds write. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Memory Corruption

Integer Overflow

Infinite Loop

Out of bounds Read

Weakness Enumeration

Related Identifiers

CVE-2019-19307

Affected Products

Mongoose