Improper input validation in Mongoose - CVE-2017-2892

 

Improper input validation in Mongoose - CVE-2017-2892

Published: November 2, 2017


Vulnerability identifier: #VU9102
CSH Severity: High
CVSS v4.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-2017-2892
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Cesanta Software Ltd.
Affected software:
Mongoose

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists in the MQTT packet parsing functionality due to improper input validation. A remote attacker can send a specially crafted MQTT packet over network to cause an arbitrary out-of-bounds memory read and write potentially resulting in information disclosure, denial of service and remote code execution.

Successful exploitation of the vulnerability may result in system compromise.

How to mitigate CVE-2017-2892

Update to version 6.10.

Sources