CVE-2018-20352 Use after free in n/a

High 8.8 Published Updated

A use-after-free flaw in the Mongoose embedded web server library allows attackers to cause a crash or execute arbitrary code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2018-20352?

CVE-2018-20352 is a high-severity use after free vulnerability in n/a, published on 10 Jun 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Use-after-free vulnerability in the mg_cgi_ev_handler function in mongoose.c in Cesanta Mongoose Embedded Web Server Library 6.13 and earlier allows a denial of service (application crash) or remote code execution.

Weakness: CWE-416

Which versions are affected by CVE-2018-20352?

It affects 1 product.

Products include Cesanta Mongoose Embedded Web Server Library.

How do I fix CVE-2018-20352?

No fix has been published for CVE-2018-20352 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-2018-20352 being exploited?

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

Sources

Also known as GHSA-8fhm-6jq5-22c6.

Is CVE-2018-20352 in your software?

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

Check your SBOMs for free