CVE-2018-18765 Information disclosure in n/a

Critical 9.1 Published Updated

A heap-based buffer over-read in Cesanta Mongoose allows attackers to disclose memory or cause denial of service via crafted MQTT packets.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-18765?

CVE-2018-18765 is a critical vulnerability in Cesanta Mongoose, published on 28 Oct 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An exploitable arbitrary memory read vulnerability exists in the MQTT packet-parsing functionality of Cesanta Mongoose 6.13. It is a heap-based buffer over-read in mg_mqtt_next_subscribe_topic. A specially crafted MQTT SUBSCRIBE packet can cause an arbitrary out-of-bounds memory read potentially resulting in information disclosure and denial of service. An attacker needs to send a specially crafted MQTT packet over the network to trigger this vulnerability.

Weakness: CWE-125

Which versions are affected by CVE-2018-18765?

It affects 1 product.

Products include Cesanta Mongoose.

How do I fix CVE-2018-18765?

Upgrade to a fixed version.

Is CVE-2018-18765 being exploited?

There is no known exploitation of CVE-2018-18765 in the wild and no public exploit code.

All Cesanta Mongoose vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-18765, GHSA-w62j-xhgm-2ggr.

Is CVE-2018-18765 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free