CVE-2017-7185 Use after free in n/a

High 7.5 Published Updated

Remote attackers can cause a denial of service via a crafted multipart POST request in the Mongoose embedded web server library.

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

What is CVE-2017-7185?

CVE-2017-7185 is a high-severity use after free vulnerability in n/a, published on 10 Apr 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Use-after-free vulnerability in the mg_http_multipart_wait_for_boundary function in mongoose.c in Cesanta Mongoose Embedded Web Server Library 6.7 and earlier and Mongoose OS 1.2 and earlier allows remote attackers to cause a denial of service (crash) via a multipart/form-data POST request without a MIME boundary string.

Weakness: CWE-416

Which versions are affected by CVE-2017-7185?

It affects 2 products.

Products include Cesanta Mongoose Embedded Web Server Library, Cesanta Mongoose Os.

How do I fix CVE-2017-7185?

No fix has been published for CVE-2017-7185 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2017-7185 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-r945-w37w-79vf.

Is CVE-2017-7185 in your software?

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

Check your SBOMs for free