CVE-2017-2909 Denial of service in Mongoose

High 7.5 Published Updated

A specially crafted DNS request triggers an infinite loop in the Cesanta Mongoose library, causing high CPU usage and denial of service.

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

What is CVE-2017-2909?

CVE-2017-2909 is a high-severity denial of service vulnerability in Cesanta Mongoose, published on 7 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An infinite loop programming error exists in the DNS server functionality of Cesanta Mongoose 6.8 library. A specially crafted DNS request can cause an infinite loop resulting in high CPU usage and Denial Of Service. An attacker can send a packet over the network to trigger this vulnerability.

Weakness: CWE-835

Which versions are affected by CVE-2017-2909?

It affects 1 product.

Products include Cesanta Mongoose.

How do I fix CVE-2017-2909?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2017-2909 being exploited?

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

All Cesanta Mongoose vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-2909, GHSA-r2hq-55rv-r3g7.

Is CVE-2017-2909 in your software?

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

Check your SBOMs for free