#VU18959 Heap-based buffer overflow in Mongoose - CVE-2019-12951
Published: July 2, 2019 / Updated: July 2, 2019
Vulnerability identifier: #VU18959
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2019-12951
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
Mongoose
Mongoose
Software vendor:
Cesanta Software Ltd.
Cesanta Software Ltd.
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the "parse_mqtt()" function in the "mg_mqtt.c" file. A remote attacker can send a specially crafted request to the affected software, trigger a heap-based buffer overflow and execute arbitrary code or cause a denial of service (DoS) condition on a targeted system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Remediation
Install update from vendor's website.