Buffer overflow in Cesanta Mongoose

CVE-2017-2894

An exploitable stack buffer overflow vulnerability exists in the MQTT packet parsing functionality of Cesanta Mongoose 6.8. A specially crafted MQTT SUBSCRIBE packet can cause a stack buffer overflow resulting in remote code execution. An attacker needs to send a specially crafted MQTT packet over the network to trigger this vulnerability.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.310 (98.3th percentile), scored .

Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 98.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2017-2894: held from 0.310 to 0.310.

EPSS over last 30 days · oldest: 0.310 · newest: 0.310 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2017-2894?
CVE-2017-2894 is a critical-severity vulnerability in Cesanta Mongoose, classified under Out-of-bounds Write. CVSS score: 9.8/10. Published 2017-11-07.
How severe is CVE-2017-2894?
Critical severity. CVSS v3 base score is 9.8 out of 10.