CVE-2018-10945 Denial of service in n/a

High 7.5 Published Updated

Remote attackers can crash the Mongoose web server library via a crafted HTTP request, causing a 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-2018-10945?

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

Official description

The mg_handle_cgi function in mongoose.c in Mongoose 6.11 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash, or NULL pointer dereference) via an HTTP request, related to the mbuf_insert function.

Weakness: CWE-476, CWE-125

Which versions are affected by CVE-2018-10945?

It affects 1 product.

Products include Cesanta Mongoose.

How do I fix CVE-2018-10945?

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-2018-10945 being exploited?

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

All Cesanta Mongoose vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-10945, GHSA-v42j-9rhf-8967.

Is CVE-2018-10945 in your software?

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

Check your SBOMs for free